- Make a directory
ros_ws
to act as your ROS 2 workspace.$ mkdir -p ~/ros_ws/src/
- Clone this repository:
$ git clone https://github.com/Olin-RoboSys/AprilTag-ROS-2.git
- Build the packages.
$ cd ~/ROS2_WS $ colcon build
- Source the
setup.bash
file of yourROS2_WS
.$ echo "source ~/ros_ws/install/setup.bash" >> ~/.bashrc $ source ~/.bashrc
$ ros2 launch apriltag_ros apriltag_ros.launch.py
This repository was heavily adapted from the AprilTag Detection and Tracking from Tinker-Twins.