AprilTag Detection and Tracking with ROS 2
AprilTag Tracking - Simulation | AprilTag Tracking - TurtleBot3 | AprilTag Tracking - Remote PC |
Note: The above demonstration uses code from this repository for controlling TurtleBot3 to follow the AprilTag marker.
- Make a directory
ROS2_WS
to act as your ROS 2 workspace.$ mkdir -p ~/ROS2_WS/src/
- Clone this repository:
$ git clone https://github.com/Tinker-Twins/AprilTag-ROS-2.git
- Build the packages.
$ cd ~/ROS2_WS $ colcon build
- Source the
setup.bash
file of yourROS2_WS
.$ echo "source ~/ROS2_WS/install/setup.bash" >> ~/.bashrc $ source ~/.bashrc
$ ros2 launch apriltag_ros apriltag_ros.launch.py