运行ORB-SLAM3算法录制Rosbag时报错导致ORB-SLAM3中断解决办法

发布于 2021-04-02  19 次阅读


在运行ORB-SLAM3时通过rosbag录制数据,但直接导致ORB-SLAM3停止,数据录制也失败:

[ERROR] [1616677355.335068028]: cv_bridge exception: '[16UC1] is not a color format. but [bgr8] is. The conversion does not make sense'
[ERROR] [1616677355.364791516]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: rgb8).
[ERROR] [1616677355.368695887]: cv_bridge exception: '[16UC1] is not a color format. but [bgr8] is. The conversion does not make sense'
[ERROR] [1616677355.397405798]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: rgb8).
[ERROR] [1616677355.402118773]: cv_bridge exception: '[16UC1] is not a color format. but [bgr8] is. The conversion does not make sense'
[ERROR] [1616677355.431334280]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: rgb8).
[ERROR] [1616677355.436420893]: cv_bridge exception: '[16UC1] is not a color format. but [bgr8] is. The conversion does not make sense'
[ERROR] [1616677355.464577698]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: rgb8).

直接采用:

# 
rosbag record -a -x "(.*)/compressed(.*)"
原因描述:
因为没有记录“压缩”主题!

网站的建设与维护者,孤独的守望者