ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ar_track_alvar individualMarkers fails to find marker

asked 2015-03-07 12:25:16 -0500

rnunziata gravatar image

updated 2015-03-07 16:03:15 -0500

I am running ar_track_alvar individualMarkers and individualMarkersNoKinect. The first fails to find the mark while the second finds it and tracks it.Here are my launch files: I can not see why this should be any thoughts? I am running in simulation in gazebo. Also why does the marker position show past the mark?

<launch>
    <arg name="marker_size" default="30.48" />
    <arg name="max_new_marker_error" default="0.08" />
    <arg name="max_track_error" default="0.2" />

    <arg name="cam_image_topic" default="/depth/points" />
    <arg name="cam_info_topic" default="/camera_info" />        
    <arg name="output_frame" default="/rrbot/camera_frame" />

    <node name="ar_track_alvar" pkg="ar_track_alvar" type="individualMarkers" respawn="false" output="screen" args="$(arg marker_size) $(arg max_new_marker_error) $(arg max_track_error) $(arg cam_image_topic) $(arg cam_info_topic) $(arg output_frame)" />
</launch>


<launch>
    <arg name="marker_size" default="30.48" />
    <arg name="max_new_marker_error" default="0.08" />
    <arg name="max_track_error" default="0.2" />

    <arg name="cam_image_topic" default="/image_raw" />
    <arg name="cam_info_topic" default="/camera_info" />        
    <arg name="output_frame" default="/rrbot/camera_frame" />

    <node name="ar_track_alvar" pkg="ar_track_alvar" type="individualMarkersNoKinect" respawn="false" output="screen" args="$(arg marker_size) $(arg max_new_marker_error) $(arg max_track_error) $(arg cam_image_topic) $(arg cam_info_topic) $(arg output_frame)" />
</launch>

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-10 17:00:21 -0500

rnunziata gravatar image

updated 2015-03-10 17:02:13 -0500

Partial answer to question: The marker is off set because the marker size was set wrong at 30 cm instead of 26 in the launch file. However while this fixed the nokinetic example it does not fix the launch file with the kinetic

edit flag offensive delete link more

Comments

erratum: the white shows super dark but otherwise it's working, sorry for the inconvenience

marguedas gravatar image marguedas  ( 2015-04-04 16:33:48 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-07 12:25:16 -0500

Seen: 569 times

Last updated: Mar 10 '15