在场地放置在体育馆内,用Xmake构建导航的纯算法库

This commit is contained in:
mzx committed 2026-11-17 19:07:59 +08:00
1 parent f7412ec369
commit f25ce828ce
50 files changed
+3689 -180

No files matched your search

+11
View File
@@ -25,6 +25,17 @@
| `probe_cmd.py` / `probe_cmd2.py` / `cmd_probe_all.py` | 统计各级 `/cmd_vel` 消息数 |
| `probe_sub.py` | 最小订阅示例 |
## 构建 / 编辑器
| 脚本 | 用途 |
|---|---|
| `gen_compdb.sh` | ★ 重新生成工作区根的 `compile_commands.json`(clangd / VS Code 智能感知的数据源) |
> **改了 CMakeLists、增删 `.cpp`、或改了 include 目录之后必须重跑 `gen_compdb.sh`**,
> 否则 VS Code 会报 `xxx.hpp file not found` + `Too many errors emitted`。
> 跑完还要在 VS Code 里 `Ctrl+Shift+P → clangd: Restart language server`。
> 详见 `../.vscode/README.md`。
## 典型用法
```bash