使用标定文件出错:does not match name narrow_stereo in file /home/michael/.ros/camera_info/head_camera.yaml.

环境: vmware虚拟机 ubuntu20.04 + noetic + 笔记本摄像头

在对摄像头进行标定后,生成了相应的标定文件,运行 launch 文件usb_cam_with_calibration.launch 仍然出现如下警告:

[head_camera] does not match name narrow_stereo in file /home/michael/.ros/camera_info/head_camera.yaml.

打开标定文件:

image_width: 640
image_height: 480
camera_name: narrow_stereo
camera_matrix:
  rows: 3
  cols: 3
  data: [653.558145, 0, 315.474744, 0, 612.170158, 246.740547, 0, 0, 1]
distortion_model: plumb_bob
distortion_coefficients:
  rows: 1
  cols: 5
  data: [0.071946, -0.127256, 0.003988999999999999, -0.008007, 0]
rectification_matrix:
  rows: 3
  cols: 3
  data: [1, 0, 0, 0, 1, 0, 0, 0, 1]
projection_matrix:
  rows: 3
  cols: 4
  data: [660.515259, 0, 310.741637, 0, 0, 621.001221, 247.869777, 0, 0, 0, 1, 0]

最后发现是 camera_name的问题,需要将 narrow_stereo 改成 head_camera 即可

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值