1.下载topic_tools
git clone https://github.com/ros/ros_comm.git
对其进行catkin_make编译以及加入环境变量即可,是一个ros package。
2.把左右相机的数据帧率降到4
rosrun topic_tools throttle messages /mynteye/right/image_raw 4
这条指令会默认的创建一个新的帧率为4的topic,topic的名字为 /mynteye/right/image_raw_throttle
3.把低帧率的原始数据显示出来
rosrun image_view image_view imag:=/mynteye/right/image_raw_throttle
由于是4帧每秒,所以看起来会有一些一卡一顿的,这样证明成功降低了帧率。