• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
MKT-porter
博客园    首页    新随笔    联系   管理    订阅  订阅
ROS 双目标定
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

 

posted on 2017-12-11 22:27  MKT-porter  阅读(583)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3