3.4 소프트웨어 환경 구축
AntBot 소프트웨어를 빌드하고 실행하기 위한 환경 구축 가이드입니다.
사전 요구사항
섹션 제목: “사전 요구사항”| 항목 | 요구 사양 |
|---|---|
| OS | Ubuntu 22.04 LTS |
| ROS 2 | Humble Hawksbill |
| C++ | C++17 이상 |
| Python | 3.10 이상 |
| 컴파일러 | GCC 11+ |
설치 방법
섹션 제목: “설치 방법”-
워크스페이스 생성 및 저장소 클론
Terminal window mkdir -p ~/antbot_ws/src && cd ~/antbot_ws/srcgit clone https://github.com/ROBOTIS-move/antbot.git -
의존성 설치
setting.sh스크립트가 다음 작업을 자동으로 수행합니다.- 시스템 패키지 설치 (
netplan.io등) - 외부 ROS 2 패키지 클론 (vcs import)
rosdep을 통한 ROS 의존성 설치
Terminal window cd ~/antbot_ws/src/antbotbash scripts/setting.sh - 시스템 패키지 설치 (
-
워크스페이스 빌드
Terminal window cd ~/antbot_wscolcon build --symlink-install -
환경 소싱
Terminal window source ~/antbot_ws/install/setup.bash
전체 시스템을 한 번에 실행하려면:
ros2 launch antbot_bringup bringup.launch.py하드웨어 없이 URDF 모델만 확인하려면:
ros2 launch antbot_description description.launch.py(전체 시스템이 켜져있는 상태에서) RViz로 센서를 모니터링하려면:
ros2 launch antbot_bringup view.launch.py© 2026 ROBOTIS AI. All rights reserved.