ROS usb_cam 标定

wiki.ros.org/camera_calibration/Tutorials/MonocularCalibration

标定板

rosdep install camera_calibration
rosmake camera_calibration
$ rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.108 image:=/camera/image_raw camera:=/usb_cam

注意,0.108是马克小黑格大小(单位 米)

/camera/image_raw 也可能要改,相机图像节点

打开相机的错误

[ WARN] [1524705751.615053287]: sh: 1: v4l2-ctl: not found

[ WARN] [1524705751.619038383]: sh: 1: v4l2-ctl: not found

解决

sudo apt-get install v4l-utils

你可能感兴趣的:(linux使用)