RIVeR-Lab / apriltags_ros

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

Only recognizes h11 tags #7

Open bcfjohns opened 8 years ago

bcfjohns commented 8 years ago

I think based on the code, the current release only recognizes 36h11 tags, and it definitely would not recognize 16h5 tags. I'm using Ros indigo. Release 0.1.1 of apriltags_ros

uwleahcim commented 8 years ago

In apriltag_detector.cpp search for 36h11 and change it to whatever family you want.

Edit: looks like they added an option for tag family parameter. If you want to detect multiple families, you have to modify the detector.cc and detector.h to be initialized with multiple families. Also you'll need to modified "Step 8" in detector.cc to perform decoding for each family.