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

Ohmy's profile - activity

2016-01-13 09:13:01 -0500 received badge  Popular Question (source)
2016-01-13 09:13:01 -0500 received badge  Famous Question (source)
2016-01-13 09:13:01 -0500 received badge  Notable Question (source)
2015-12-23 13:00:21 -0500 received badge  Famous Question (source)
2015-05-05 11:34:15 -0500 received badge  Notable Question (source)
2014-11-30 18:25:56 -0500 received badge  Popular Question (source)
2014-11-27 15:42:55 -0500 asked a question ar_pose can't recognize marker

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>
2014-11-27 15:42:55 -0500 asked a question ar_pose can't recognize marker.

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>