Skip to content

Clone and Build the Project

1. Clone the Repository

First, navigate to your ROS2 workspace directory and clone the Agilebot Robotics ROS2 repository: https://github.com/sh-agilebot/Agilebot_Robot_Ros2

bash
cd {your_ros2_workspace_directory}/src
git clone https://github.com/sh-agilebot/Agilebot_Robot_Ros2.git

2. Install Python Dependencies

Navigate to the project root directory (the root directory of the cloned repository) and install the required Python dependencies:

bash
cd {your_ros2_workspace_directory}/src/Agilebot_Robot_Ros2
pip install -r requirements.txt
pip install Agilebot.Robot.SDK.A-{version}-py3-none-any.whl

Build the Project

Return to the ROS2 workspace root directory and build the project:

bash
cd {your_ros2_workspace_directory}
colcon build
source install/setup.bash

You have now successfully installed and configured the Agilebot Robotics ROS2 project!

Quick Installation Verification

To ensure everything works properly, you can try launching a simple RViz display or Gazebo simulation. For details, please refer to the Quick Start page.


If you encounter any issues or errors, please check our FAQ page, or submit an issue via GitHub Issues.