RIVeR-Lab / apriltags_ros

AprilTags for ROS
http://wiki.ros.org/apriltags_ros
83 stars 101 forks source link

How to use this package? #4

Open YjyJeff opened 8 years ago

YjyJeff commented 8 years ago

When I rosrun this node,it warns that: No apriltags specified. So how could I load the picture that I want to detecte?

cstsdf commented 8 years ago

I have the same question. Is anyone can tell us how to use it?

jimitgandhi66 commented 8 years ago

You need to specify tag ids and size in the launch file you create. You cannot rosrun this node and get tag ids. These are the pre-requisites for using this package.

  1. usb_cam package and apriltag_ros package should be installed
  2. Create a launch file similar to example.launch in apriltag_ros package (you will find that in the apriltag_ros/launch folder. In the launch file mention the tag ids you want to detect and their size in meter.
  3. Calibrate your camera and import the yaml file. Copy that yaml file with appropriate camera name in the home/user/.ros/camera_info folder.
  4. roslaunch apriltag_ros [launchfilename].launch
tuofeichen commented 8 years ago

can we change the code in this package to build from source ?

kartikpaigwar commented 7 years ago

can you specify which usb_cam package

AlexisTM commented 7 years ago

There is only one usb_cam package. He means : get your image from your camera to ros