individualMarkersNoKinect does not publish in ar_pose_marker
hello, I use ros kinetic and I downloaded the ar-track-alvar module, to read AR codes, and I want to determine how far they are. I use a usb camera of logitech and I have written the following launch file.
<launch>
<node name="usb_cam" pkg="usb_cam" type="usb_cam_node">
<param name="video_device" value="/dev/video0"/>
</node>
<node name="ar_track_alvar" pkg="ar_track_alvar" type="individualMarkersNoKinect" respawn="false" output="screen">
<param name="marker_size" value="18"/>
<param name="max_new_marker_error" value="0.08"/>
<param name="max_track_error" value="0.2"/>
<param name="camera_image" value="usb_cam/image_raw"/>
<param name="camera_info" value="usb_cam/camera_info"/>
<param name="output_frame" value="head_camera"/>
</node>
</launch>
The fact is that I show an image to the camera with an AR code and in the topic ar_pose_marker nothing is published.
Thanks for any help you can give me.
My launch file:
<launch> <node name="usb_cam" pkg="usb_cam" type="usb_cam_node"> </node> <node name="ar_track_alvar" pkg="ar_track_alvar" type="individualMarkersNoKinect" respawn="false" output="screen">
I recommend designing your launch file on the example here. You have to specify the cam_image_topic and cam_info_topic names. Or the node doesn't receive any images.