ar_pose can't recognize marker. [closed]

asked 2014-11-27 12:05:32 -0500

Ohmy gravatar image

updated 2014-11-28 02:19:33 -0500

gvdhoorn gravatar image

Hello. ar_pose_single.launch can't recognize hiro marker. but Prerecorded Demo is good working. I don't know why. I'm using ROS Hydro, uvc_camera. please help me.


  <node pkg="rviz" type="rviz" name="rviz" 
    args="-d $(find ar_pose)/launch/live_single.rviz"/>
  <node pkg="tf" type="static_transform_publisher" name="world_to_cam" 
    args="0 0 0.5 -1.57 0 -1.57 world camera 1" />
  <node ns="camera" pkg="image_proc" type="image_proc" name="image_proc"/>
  <node ns="camera" pkg="uvc_camera" type="uvc_camera_node" name="uvc_camera"
    <param name="width" type="int" value="640" />
    <param name="height" type="int" value="480" />
    <param name="fps" type="int" value="30" />
    <param name="frame_id" type="string" value="camera" />
    <param name="device" type="string" value="/dev/video0" />
    <param name="camera_info_url" type="string"
      value="file://$(find ekfslam_exp)/camera_calibration.yaml" />
  <node name="ar_pose" pkg="ar_pose" type="ar_single" respawn="false"
    <param name="marker_pattern" type="string"
      value="$(find ar_pose)/data/patt.hiro"/>
    <param name="marker_width" type="double" value="80"/>
    <param name="marker_center_x" type="double" value="0.0"/>
    <param name="marker_center_y" type="double" value="0.0"/>
    <param name="threshold" type="int" value="100"/>
    <param name="use_history" type="bool" value="true"/>
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-01-30 22:14:47.268872


Did you calibrate your cam? Are sure that tag which you have printed is located in ar_pose/data/patt.hiro ?

green96 gravatar image green96  ( 2014-11-29 07:18:11 -0500 )edit