marker_detection

Overview

This package will detect one or more ArUco Markers and broadcast each tfs(Transforms).

Dependencies

  • Ubuntu 20.04 LTS (Focal Fossa)
  • Robotic Operating System(ROS) noetic

To activate it, you will need

  • pyrealsense2
  • OpenCV
  • open3d

Notice

The code in this package is tested on python3 environment

Installation

$ cd ~/catkin_ws/src/
$ git clone https://github.com/CoMoBot-Perception/marker-detection.git
$ cd ~/catkin_ws/
$ catkin_make

Solving possible problems

  1. No module named pyrealsense2
$ pip install pyrealsense2
  1. AttributeError: module 'numpy.random' has no attribute 'BitGenerator'
$ pip install --upgrade numpy

After that, try

$ sudo apt-get update
$ sudo apt-get dist-upgrade

How to start?

$ roslaunch marker_detection marker_detection.launch

Reference