Claude에서 열기ChatGPT에서 열기
https://rainbowrobotics.github.io/RBQ/llms-full.txt 는 Rainbow Robotics RBQ 4족 로봇 매뉴얼 전문입니다. 읽고 이 문서를 근거로 한국어로 답변해 주세요.
AI 답변은 부정확할 수 있습니다. 안전·정비 항목은 매뉴얼 원문을 확인하세요.
한국어
https://rainbowrobotics.github.io/RBQ/llms-full.txt 는 Rainbow Robotics RBQ 4족 로봇 매뉴얼 전문입니다. 읽고 이 문서를 근거로 한국어로 답변해 주세요.
AI 답변은 부정확할 수 있습니다. 안전·정비 항목은 매뉴얼 원문을 확인하세요.
한국어
4단계로 RBQ 로봇을 ROS 2 Humble에 연결합니다.
git clone https://github.com/RainbowRobotics/RBQ.git
cd RBQ
# ROS 2 Humble 설치 (최초 1회) — https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debs.html
sudo apt update && sudo apt install -y ros-humble-desktop \
python3-colcon-common-extensions python3-rosdep \
ros-humble-rmw-cyclonedds-cpp ros-humble-cyclonedds
sudo rosdep init && rosdep update
source /opt/ros/humble/setup.bashcd rbq_sdk/ros2
rosdep install --from-paths src -y --ignore-src
colcon build --symlink-install
source install/setup.bash
cd ../..시뮬레이션:
source rbq_sdk/ros2/install/setup.bash
bash scripts/sim.bashsource rbq_sdk/ros2/install/setup.bashros2 topic 명령을 쓸 터미널에서 아래를 설정합니다:
export CYCLONEDDS_URI='<CycloneDDS><Domain><Id>0</Id><General><Interfaces><NetworkInterface name="wlp4s0"/></Interfaces></General></Domain></CycloneDDS>'
export RMW_IMPLEMENTATION=rmw_cyclonedds_cppwlp4s0은 실제 Wi-Fi 인터페이스 이름으로 바꾸세요 (ifconfig로 확인).
# HighLevel 모드 활성화
ros2 topic pub --once /rbq/cmd/switch_control_mode std_msgs/msg/Bool "{data: true}"
# 일어서기
ros2 topic pub --once /rbq/cmd/switch_gait std_msgs/msg/Int8 "{data: 1}"
# 0.3 m/s 전진
ros2 topic pub --once /rbq/cmd/high_level rbq_msgs/msg/HighLevelCommand \
'{vel_x: 0.3, vel_y: 0.0, omega_z: 0.0, gait_state: 3, gait_transition: false}'
# 토픽 목록 확인
ros2 topic listsource rbq_sdk/ros2/install/setup.bash
ros2 topic list→ 전체 ROS2 레퍼런스: ROS2 SDK 개요