Skip to content

3.4 Software Environment Setup

This is a guide for setting up the environment to build and run AntBot software.

ItemRequirement
OSUbuntu 22.04 LTS
ROS 2Humble Hawksbill
C++C++17 or higher
Python3.10 or higher
CompilerGCC 11+
  1. Create workspace and clone repository

    Terminal window
    mkdir -p ~/antbot_ws/src && cd ~/antbot_ws/src
    git clone https://github.com/ROBOTIS-move/antbot.git
  2. Install dependencies

    The setting.sh script 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/antbot
    bash scripts/setting.sh
  3. Build workspace

    Terminal window
    cd ~/antbot_ws
    colcon build --symlink-install
  4. Source environment

    Terminal window
    source ~/antbot_ws/install/setup.bash

To launch the entire system at once:

Terminal window
ros2 launch antbot_bringup bringup.launch.py

To view only the URDF model without hardware:

Terminal window
ros2 launch antbot_description description.launch.py

To monitor sensors with RViz (while the full system is running):

Terminal window
ros2 launch antbot_bringup view.launch.py

© 2026 ROBOTIS AI. All rights reserved.