Created by Yao Xinchen, 2023/7/13.
Based on ROS2 Jazzy/Humble.
Tested on Ubuntu 24.04/Ubuntu 22.04.
Used for RoboMaster Team Meta to control robots.
This project is hoped to be modular, readable and easy to maintain.
This is a documentation describing how this project is designed -> Meta-ROS-Doc Web
- ros-humble/ros-jazzy
- serial-driver
- moveit
- moveit-servo
- camera-info-manager
4 main layers: Perception -> Decision -> Decomposition -> Execution
First, create a workspace and clone the project.
mkdir -p meta_ws/src && cd meta_ws/src
git clone --recurse-submodules https://github.com/Meta-Team/Meta-ROStouch Meta-ROS/decomposition/scara_moveit/COLCON_IGNOREThis project is fully compatible with rosdep.
If you haven't installed rosdep and colcon yet, install it.
sudo apt install python3-rosdep python3-colcon-common-extensions
sudo rosdep init
rosdep update
Then you can easily install the dependencies with this command.
If you are on Ubuntu 24.04 with ROS2 jazzy and then run:
rosdep install -y --rosdistro jazzy --from-paths . --ignore-srcIf you are on Ubuntu 22.04 with ROS2 humble and then run:
rosdep install -y --rosdistro humble --from-paths . --ignore-srcNote: You may need to manually install Eigen3 because it cannot be automatically resolved by
rosdep.
Simply run
cd Meta-ROS
colcon build --symlink-install --cmake-args '-DCMAKE_EXPORT_COMPILE_COMMANDS=On'Remove brltty first
sudo apt purge brlttyThen install udev rules
./Meta-ROS/tools/install.shThen plugin the peripheral board, and run the following command
./Meta-ROS/tools/setupcan.sh
Run hero as example:
source install/setup.bash
ros2 launch meta_bringup hero.launch.py