docs: 对齐 build/bin 布局、日志自动落盘、env_common 探测库与 tools 精简

This commit is contained in:
mzx committed 2026-11-21 23:32:47 +08:00
1 parent 0843c6ade0
commit 3c58a08dad
47 files changed
+1063 -2009

No files matched your search

+11 -5
View File
@@ -2,14 +2,20 @@
-- 哨兵导航仿真 —— 唯一构建入口
-- ============================================================================
--
-- cd ~/Gazebo_projects/sentry_nav_dev
-- xmake # 编译(产物在 build/linux/x86_64/release/)
-- cd <仓库根>
-- xmake # 编译
-- xmake test # 跑单元测试(3 个套件 223 项,约 5 ms)
-- xmake f -c && xmake # 清掉配置重新编
--
-- 二进制路径:
-- build/linux/x86_64/release/self_filter 点云自滤节点
-- build/linux/x86_64/release/patrol 航点巡逻节点
-- 二进制路径:**产物固定落在 `build/bin/`**。
-- 每个 target 里都有 `set_targetdir("$(builddir)/bin")` —— 故意不用 xmake 默认的
-- `build/<平台>/<架构>/<模式>/`,否则那一串会被抄进文档/脚本,换架构就全失效。
-- ⚠️ 新增 target(任何子包里)都必须自己补那一行 `set_targetdir`。
--
-- build/bin/self_filter 点云自滤 + 投影出 /scan2d
-- build/bin/patrol 航点巡逻节点
--
-- 想确认本机实际路径:python3 tools/project_env.py
--
-- ---------------------------------------------------------------------------
-- 为什么 sentry_sim 不在这里