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
+3
View File
@@ -3,6 +3,9 @@
用户已授权 Codex 直接调查、修改、构建、运行和验收;当前未安排 DeepSeek 并行修改。
同日新增授权清理旧方案,覆盖旧交接中“旧源码与工具一律不得删除”的限制。
本轮用户明确授权更新 README 并 git commit;push 由用户执行。
该收尾已提交为 664eaa8。后续用户使用中发现中断自动测试遗留进程、阻塞重启的问题,
另作修复与实测,见 RESTART.md。用户随后授权将重启修复、--gui 选项及使用/迁移指南一并提交;
提交哈希以 git log 为准,push 仍由用户执行。入门操作优先阅读 USER_GUIDE.md。
## 已完成