Calibration uvc_camera and ar_pose | does not match name narrow_stereo
Hi, I have a problem with calibration of uvc_camera. According to this tutorial I calibrated my uvc_cam, I get txt file, next I converted it to *yaml file. Unfortunately something is still wrong. Please help.
I calibrated this cam due to tutorial but I am still not able to use ar_pose. It says that my cam is not calibrated due to this WARN: does not match name narrow_stereo/...
DETAILS: When I try to run uvc_cam i get warn:
przemek@przem:/opt/ros/indigo/share/uvc_camera$ rosrun uvc_camera uvc_camera_node
[ INFO] [1416757839.936490924]: using default calibration URL
[ INFO] [1416757839.936732155]: camera calibration URL: file:///home/przemek/.ros/camera_info/camera.yaml
[ WARN] [1416757839.938720327]: [camera] does not match name narrow_stereo in file /home/przemek/.ros/camera_info/camera.yaml
opening /dev/video0
pixfmt 0 = 'YUYV' desc = 'YUV 4:2:2 (YUYV)'
discrete: 640x480: 1/30 1/15
discrete: 352x288: 1/30 1/15
discrete: 320x240: 1/30 1/15
discrete: 176x144: 1/30 1/15
discrete: 160x120: 1/30 1/15
discrete: 1280x1024: 2/15 1/5
int (Brightness, 0, id = 980900): -10 to 10 (1)
int (Contrast, 0, id = 980901): 0 to 20 (1)
int (Saturation, 0, id = 980902): 0 to 10 (1)
int (Gamma, 0, id = 980910): 100 to 200 (1)
int (Gain, 0, id = 980913): 32 to 48 (1)
menu (Power Line Frequency, 0, id = 980918): 0 to 2 (1)
0: Disabled
1: 50 Hz
2: 60 Hz
int (Sharpness, 0, id = 98091b): 0 to 10 (1)
select timeout in grab
My yaml file looks:
image_width: 640
image_height: 480
camera_name: narrow_stereo
camera_matrix:
rows: 3
cols: 3
data: [562.565802, 0, 334.212253, 0, 559.2623160000001, 230.512081, 0, 0, 1]
distortion_model: plumb_bob
distortion_coefficients:
rows: 1
cols: 5
data: [0.06530999999999999, -0.217992, 0.000628, -0.005040999999999999, 0]
rectification_matrix:
rows: 3
cols: 3
data: [1, 0, 0, 0, 1, 0, 0, 0, 1]
projection_matrix:
rows: 3
cols: 4
data: [560.932284, 0, 331.534094, 0, 0, 561.324191, 230.144188, 0, 0, 0, 1, 0]
It is only warn but I can't use ar_pose too:
przemek@przem:/opt/ros/indigo/share/uvc_camera$ roslaunch ar_pose ar_pose_single.launch
... logging to /home/przemek/.ros/log/7190f504-7328-11e4-86d4-001e65a44a56/roslaunch-przem-27002.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://przem:54421/
SUMMARY
========
PARAMETERS
* /ar_pose/marker_center_x: 0.0
* /ar_pose/marker_center_y: 0.0
* /ar_pose/marker_pattern: /home/przemek/tum...
* /ar_pose/marker_width: 152.4
* /ar_pose/threshold: 100
* /ar_pose/use_history: True
* /camera/uvc_camera_node/camera_info_url: file:///opt/ros/i...
* /camera/uvc_camera_node/device: /dev/video0
* /camera/uvc_camera_node/fps: 30
* /camera/uvc_camera_node/frame: camera
* /camera/uvc_camera_node/height: 240
* /camera/uvc_camera_node/width: 320
* /rosdistro: indigo
* /rosversion: 1.11.9
NODES
/camera/
image_proc (image_proc/image_proc)
uvc_camera_node (uvc_camera/uvc_camera_node)
/
ar_pose (ar_pose/ar_single)
rviz (rviz/rviz)
world_to_cam (tf/static_transform_publisher)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[rviz-1]: started with pid [27020]
process[world_to_cam-2]: started with pid [27021]
process[camera/image_proc-3]: started with pid [27038]
process[camera/uvc_camera_node-4]: started ...