By ihsumlee , 23 May 2026
content

Practice 2:UOA Robotics Lab Map Building + Navigation

1. 啟動地圖

ros2 launch stage_ros2 stage.launch.py \
world:=/usr/local/share/stage/worlds/uoa_robotics_lab \
enforce_prefixes:=false

2. 檢查 topic

ros2 topic list | grep scan
ros2 topic list | grep cmd_vel
ros2 topic list | grep odom

通常可能會看到:

/robot_0/base_scan
/robot_0/cmd_vel
/robot_0/odom

Tags