1
0
Fork 0
This commit is contained in:
äHuang77 2026-05-18 08:40:05 +00:00
parent d3f5f42f77
commit db29850ef1
2 changed files with 4 additions and 8 deletions

View File

@ -13,20 +13,16 @@
```bash ```bash
cd /workspace cd /workspace
colcon build --symlink-install colcon build --symlink-install
source /opt/ros/humble/setup.bash
source install/setup.bash
``` ```
### 注意事项 ### 注意事项
为了方便,写入 `~/.bashrc` 每一个终端执行前建议
```bash ```bash
echo 'source /opt/ros/humble/setup.bash' >> ~/.bashrc source /opt/ros/humble/setup.bash
echo 'source /workspace/install/setup.bash' >> ~/.bashrc source /workspace/install/setup.bash
echo 'export TURTLEBOT3_MODEL=burger' >> ~/.bashrc export NAV2_MAP_PATH=/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/map/office_map.yaml
echo 'export NAV2_MAP_PATH=/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/map/office_map.yaml' >> ~/.bashrc
source ~/.bashrc
``` ```
## 2. 启动仿真 ## 2. 启动仿真

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 209 KiB