fix(sim): clean up interrupted runs and document usage and migration

Prevent ROS cleanup errors from skipping owned Gazebo process teardown.
Reject occupied master ports before launching nodes and stop the stack when
its GUI closes. Add --gui to the automatic LIO navigation checks.

Expand the root README and add a beginner guide covering manual goals,
automatic tests, restart troubleshooting, MID360 assumptions and staged
migration to real hardware. Preserve lifecycle and GUI validation evidence.

Validation: three navigation restart cycles, two busy-port rejection cases,
SIGINT/SIGHUP cleanup and a GUI straight-route check. Current source hashes,
Python syntax, documentation shell syntax and local links verified. Hardware
migration remains unverified; no push performed.
This commit is contained in:
2026-11-08 22:44:02 +08:00
parent 664eaa81e5
commit ca61aa63b5
21 changed files with 1022 additions and 59 deletions
+2 -1
View File
@@ -174,7 +174,8 @@ ros2 launch br_sim_bringup scan_lio.launch.py
等 `/planning/perception_ready` 为 true,另一个同环境终端发平地目标:
```bash
ros2 topic pub --once /move_base_simple/goal geometry_msgs/msg/PoseStamped \
ros2 topic pub --once --wait-matching-subscriptions 2 --keep-alive 1 \
/move_base_simple/goal geometry_msgs/msg/PoseStamped \
'{header: {frame_id: world}, pose: {position: {x: -3.8, y: 4.5, z: 0.15}, orientation: {w: 1.0}}}'
```