Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
Hello Nvidia Team,
I have a basic pipeline to get the camera images, the problem I’m having is that only works for a few seconds, during those seconds I’m able to see the camera images, but suddenly I start getting this error:
Module_id 47 Severity 2 : Error registering the buffers
Module_id 47 Severity 2 : Non-safety mode run time buffer registration failed
Module_id 47 Severity 2 : Error in video to output surface conversion
Module_id 48 Severity 2 : Failed YUV to RGB conversion 1
dwImage_copyConvert() Failed
I haven’t seen this error messages before and I don’t understand could be wrong in the code. Below a snippet of the pipeline:
dwCameraFrameHandle_t frameHandle;
dwContext_getCurrentTime(&frame_capture_time, context_handle);
result = dwSensorCamera_readFrameNew(&frameHandle,
2000000, // read timeout (in micro sec)
camera_set.sensor_port);
if (result != DW_SUCCESS) {
NODELET_ERROR_STREAM("Cannot read frame: " << dwGetStatusName(result));
continue;
}
dwImageHandle_t image_handle_original;
dwImageHandle_t image_handle;
result = dwSensorCamera_getImage(&image_handle_original,
DW_CAMERA_OUTPUT_NATIVE_PROCESSED,
frameHandle);
if (result != DW_SUCCESS) {
std::cerr << "Cannot get raw image: " << dwGetStatusName(result) << std::endl;
continue;
}
result = dwImage_create(&image_handle, camera_set.cameraImageProperties, context_handle);
if (result != DW_SUCCESS) {
std::cout << "dwImage_create() Failed" << std::endl;
}
result = dwImage_copyConvert(image_handle, image_handle_original, context_handle);
if (result != DW_SUCCESS) {
std::cout << "dwImage_copyConvert() Failed " << std::endl;
}
result = dwImage_getNvMedia(&camera_set.u_camera.current_image_ptr, image_handle);
if (result != DW_SUCCESS) {
std::cout << "dwImage_getNvMedia() Failed" << std::endl;
// don't need the frame handle anymore
result = dwSensorCamera_returnFrame(&frameHandle);
if (result != DW_SUCCESS) {
std::cout << "dwSensorCamera_returnFrame() Failed" << std::endl;
}