码迷,mamicode.com
首页 > 其他好文 > 详细

ROS 双目标定

时间:2017-12-11 23:06:10      阅读:298      评论:0      收藏:0      [点我收藏+]

标签:需要   检查   zed   script   tutorials   gpo   upd   节点   har   

http://wiki.ros.org/camera_calibration/Tutorials/StereoCalibration

发布ZED节点
roslaunch zed_cpu_ros zed_cpu_ros.launch

 产看话题

rostopic list

 

这会显示所有发布的主题,检查是否有左右两个image_raw主题:

/stereo_camera/left/camera_info
/stereo_camera/left/image_raw
/stereo_camera/left/image_raw/compressed
/stereo_camera/left/image_raw/compressed/parameter_descriptions
/stereo_camera/left/image_raw/compressed/parameter_updates
/stereo_camera/left/image_raw/compressedDepth
/stereo_camera/left/image_raw/compressedDepth/parameter_descriptions
/stereo_camera/left/image_raw/compressedDepth/parameter_updates
/stereo_camera/left/image_raw/theora
/stereo_camera/left/image_raw/theora/parameter_descriptions
/stereo_camera/left/image_raw/theora/parameter_updates
/stereo_camera/right/camera_info
/stereo_camera/right/image_raw
/stereo_camera/right/image_raw/compressed
/stereo_camera/right/image_raw/compressed/parameter_descriptions
/stereo_camera/right/image_raw/compressed/parameter_updates
/stereo_camera/right/image_raw/compressedDepth
/stereo_camera/right/image_raw/compressedDepth/parameter_descriptions
/stereo_camera/right/image_raw/compressedDepth/parameter_updates
/stereo_camera/right/image_raw/theora
/stereo_camera/right/image_raw/theora/parameter_descriptions
/stereo_camera/right/image_raw/theora/parameter_updates
/tf

 要开始校准,您需要加载将要校准的图像主题:

rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 right:=/stereo_camera/right/image_raw left:=/stereo_camera/left/image_raw right_camera:=/stereo_camera/right left_camera:=/stereo_camera/left

 

ROS 双目标定

标签:需要   检查   zed   script   tutorials   gpo   upd   节点   har   

原文地址:http://www.cnblogs.com/kekeoutlook/p/8025357.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!