【文件属性】:
文件名称:bag2jpg.txt
文件大小:3KB
文件格式:TXT
更新时间:2023-07-28 11:56:24
ros MYNT .jpg .bag
#Build
cd
make ros
#Run
source wrappers/ros/devel/setup.bash
roslaunch mynt_eye_ros_wrapper mynteye.launch
#With RViz to preview
source wrappers/ros/devel/setup.bash
roslaunch mynt_eye_ros_wrapper display.launch
#以上命令链接https://github.com/slightech/MYNT-EYE-S-SDK/tree/master/wrappers/ros
#使用rosbag记录.bag文件(录制数据子集)
rosbag record -O newbag /mynteye/left/image_raw /mynteye/right/image_raw /mynteye/left_rect/image_rect /mynteye/right_rect/image_rect
#ROS 提供了改变 topic 发布频率的节点throttle, (通常设备采集的频率为 20-60 hz, 这会使得标定的图像过多, 而导致计算量太大. 最好将ros topic的频率降低到4hz左右进行采集.)指令如下 :