How do I set up AprilTags
Apriiltags are al alternative to Aruco Tags
Setting up apriltags to work with your program is pretty simple.
You can run the following two lines to install apriltags and its ros version onto your ubuntu:
sudo apt install ros-noetic-apriltag
sudo apt install ros-noetic-apriltag-ros
Afterwards, connect your camera
roslaunch usb_cam usb_cam-test.launch
changed the video_device to /dev/video2 (or whichever video device you figure out it is) to take from usbcam
created head_camera.yaml file from this example and added the calibration information:
roslaunch apriltag_ros continuous_detection.launch publish_tag_detections_image:=true
can remap input topics to what you need:
image_rect:=usb_cam/image_raw
camera_info:=usb_cam/camera_info
Last updated