3.4 Software Environment Setup
This is a guide for setting up the environment to build and run AntBot software.
Prerequisites
Section titled “Prerequisites”| Item | Requirement |
|---|---|
| OS | Ubuntu 22.04 LTS |
| ROS 2 | Humble Hawksbill |
| C++ | C++17 or higher |
| Python | 3.10 or higher |
| Compiler | GCC 11+ |
Installation
Section titled “Installation”-
Create workspace and clone repository
Terminal window mkdir -p ~/antbot_ws/src && cd ~/antbot_ws/srcgit clone https://github.com/ROBOTIS-move/antbot.git -
Install dependencies
The
setting.shscript automatically performs the following tasks:- Install system packages (
netplan.io, etc.) - Clone external ROS 2 packages (vcs import)
- Install ROS dependencies via
rosdep
Terminal window cd ~/antbot_ws/src/antbotbash scripts/setting.sh - Install system packages (
-
Build workspace
Terminal window cd ~/antbot_wscolcon build --symlink-install -
Source environment
Terminal window source ~/antbot_ws/install/setup.bash
Running
Section titled “Running”To launch the entire system at once:
ros2 launch antbot_bringup bringup.launch.pyTo view only the URDF model without hardware:
ros2 launch antbot_description description.launch.pyTo monitor sensors with RViz (while the full system is running):
ros2 launch antbot_bringup view.launch.py© 2026 ROBOTIS AI. All rights reserved.