ar_pose can't recognize marker [closed]

asked 2014-11-27 12:09:38 -0600

Ohmy 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.

ar_pose_single.launch

      <launch>
      <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"
    output="screen">
    <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>
  <node name="ar_pose" pkg="ar_pose" type="ar_single" respawn="false"
    output="screen">
    <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"/>
  </node>
</launch>
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2014-11-28 02:20:00.249321

Comments

gvdhoorn gravatar image gvdhoorn  ( 2014-11-28 02:20:18 -0600 )edit