Mercury ROS2 package
Notes:
- Supported ROS2 versions:
- Ubuntu 20.04 / ROS2 Galactic - branch
galactic - Ubuntu 22.04 / ROS2 Humble - branch
humble
- Ubuntu 20.04 / ROS2 Galactic - branch
For using this package, the Python api library should be installed first.
pip install pymycobot --userBefore installing the package, you need to create a ros workspace.
mkdir -p ~/colcon_ws/src # Create folderAdd a workspace environment
$ echo "source ~/colcon_ws/install/setup.bash" >> ~/.bashrc
$ source ~/.bashrcInstall ros package in your src folder of your Colcon workspace.
$ cd ~/colcon_ws/src
$ git clone --depth 1 https://github.com/elephantrobotics/mercury_ros2.git
$ cd ~/colcon_ws
$ colcon build
$ source install/setup.bashHere we take Mercury A1 as an example
ros2 launch mercury_a1 test.launch.pyros2 launch mercury_a1 slider_control.launch.pyros2 launch mercury_a1 mercury_follow.launch.pyros2 launch mercury_a1 simple_gui.launch.pyros2 launch mercury_a1 teleop_keyboard.launch.pyros2 run mercury_a1 teleop_keyboard
