Giter VIP home page Giter VIP logo

apriltags_ros's Introduction

apriltags_ros

apriltags ros package for usb camera detection

ubuntu16.04 ROS kinetic

Demo videos 1

aprilTag detection ros wrapper apriltags_detections

Demo videos 2

add aprilTag simulation tb3_gazebo

Source https://github.com/YuehChuan/tb3_aprilTag

Installation

PreInstall

for ubuntu16.04 sudo apt-get --yes install libcgal-qt5-dev libcgal-dev # for pr apriltags

for ubuntu14.04 sudo apt-get --yes install libcgal-dev # for pr apriltags

1.apriltags-cpp Building

git clone

To compile the code,

    cd apriltags_ros/software/apriltags-cpp
    mkdir build
    cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    make
    sudo make install

How to Fly

2.apriltags ROS packages

    cd ~/apriltags_ros/apriltags_ws
    source environment.sh
    catkin_make 
    source environment.sh

Usage

Print out tag36h11.pdf in apriltags_ros/software/ with your desire size.

edit tag size in apriltags_ros/apriltags_ws/src/launch/usb_cam_apriltags.launch

For example The tag ID 1 inner width is 82mm set 0.082m

   <rosparam param="tag_data">
      "1": 
        size: 0.082  
      "2":
        size: 0.048
    </rosparam>

also remap right topic for your camera device the default using usb_cam. ex:

Open 4 terminal shows like this, you can utilize byobu tool.

Terminal1: roslaunch usb_cam usb_cam-test.launch

Terminal2: roslaunch apriltags usb_cam_apriltags.launch

Terminal3: rostopic echo /apriltags/detections

Terminal4: rosrun image_view image_view image:=/usb_cam/image_raw

apriltags_ros's People

Contributors

yuehchuan avatar

Watchers

 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.