Giter Site home page Giter Site logo

dabit-industries / apriltags Goto Github PK

View Code? Open in Web Editor NEW

This project forked from personalrobotics/apriltags

0.0 3.0 0.0 22.12 MB

ROS wrapper for the Apriltags visual fiducial tracker

License: BSD 2-Clause "Simplified" License

CMake 2.14% C++ 31.55% Python 0.76% PostScript 65.56%

apriltags's Introduction

apriltags

ROS wrapper for the Swatbotics C++ port of the AprilTag visual fiducial detector.
The Swatbotics port uses OpenCV and CGAL for improved performance.
http://github.com/swatbotics/apriltags-cpp

The AprilTag system was originally developed by the April laboratory at the University of Michigan. http://april.eecs.umich.edu/wiki/index.php/AprilTags
E. Olson, "AprilTag: A robust and flexible visual fiducial system", IEEE International Conference on Robotics and Automation (ICRA), 2011.

Installation

Install dependencies:

$ sudo aptitude install libcgal-dev

Clone this repo into your catkin workspace and build.

Print some AprilTags

Images of the default tag family can be found in tags/36h11.ps

To open this postscript file:

$ sudo apt-get install gv
$ gv 36h11.ps

Alternatively you can download images of the tags from here:
https://april.eecs.umich.edu/wiki/index.php/AprilTags
There are *.tgz files for each family, including a *.ps file with one tag per page.

Configuration

Edit the launch file apriltags.launch

Set the default tag file parameter

param name="~default_tag_size" value="0.046"

to be the width of the black square of the tags you printed out e.g. 46mm

If your webcam does not publish images to the default topic name, you may need to edit these 2 parameters:

remap from="~image" to="/camera/rgb/image_rect"
remap from="~camera_info" to="/camera/rgb/camera_info"

For the Kinect2, they should be set too:

remap from="~image" to="/kinect2/hd/image_color_rect"
remap from="~camera_info" to="/kinect2/hd/camera_info"

Usage

$ roslaunch apriltags apriltags.launch

To check if the node can detect your printed tag:

$ rostopic echo /apriltags/detections

apriltags's People

Contributors

ablasdel avatar ayrton04 avatar mkoval avatar psigen avatar stefanos19 avatar tappan-at-git avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.