This repo provides latest ROS driver for RoboMaster AI Robot 2019/2020.
Before running AI Robot ROS driver, ROS and some dependencies must be installed.
For ROS installation, please refer to ROS Installation Guide
After ROS installation, run the following command to install some ROS packages and google-glog library:
sudo apt-get update && sudo apt-get install -y --no-install-recommends \
ros-${ROS_DISTRO}-tf ros-${ROS_DISTRO}-nav-msgs ros-${ROS_DISTRO}-geometry-msgs libgoogle-glog-dev
- Get RoboRTS-Base from GitHub :
git clone https://github.com/RoboMaster/RoboRTS-Base.git catkin_ws/src
- Use the following command to build the package
cd catkin_ws
catkin_make
- Create the
udev
rule file:
./src/scripts/udev.sh create
- Verify the
udev
rule file:
./src/scripts/udev.sh check
- Connect the AI Robot through USB cable from
Chassis Development Board Type C
, then check the status of device connection:
./src/scripts/udev.sh status
Run the following command to run the driver node from launch file:
source devel/setup.bash
roslaunch roborts_base base.launch
Refer to Docker Conatiner Document
Refer to Node API Document
-
Perception/Navigation/Decision Stack Repo: RoboRTS
-
Embedded STM32 Code Repo: RoboRTS-Firmware
You can get support from RoboMaster with the following methods :
- Send email to [email protected] with a clear description of your problem and your setup
- Report issue on github
RoboRTS-Base is provided under the GPL-v3.