We developed an object detection system using realsense and ros. Everything was normal before, but one day not long ago, an error occurred suddenly. The realsense images in rivz were displayed normally, but the error was as follows. However, there was no content in detect-1*.log🙁:
[INF0][1747248451.993897656]: Depth image encoding: 16Uc1
[INF0][1747248451.993980344]:Depth image width: 1280
[INF0][1747248451.993997304]: Depth image height: 720
[INFO] [1747248451.994014360]: Depth image step: 2560, calculated step: 2560
Error: terminate called after throwing an instance of 'cv_bridge::Exception'
what(): Image is wrongly formed: step < width * byte_depth * num_channels or 1280 ! = 1280 * 2 * 1
[detect-1] process has died [pid 8889, exit code -6, cmd /home/nvidia/YOLOv8_ws_complated_20240720/devel/lib/yolov8_trt/detect __name:=detect __log:=/home/nvidia/.ros/log/75cc3be6-30ce-11f0-95bf-a02833802a3b/detect-1.log].
log file: /home/nvidia/.ros/log/75cc3be6-30ce-11f0-95bf-a02833802a3b/detect-1*.log