tools/gen_sdf.sh 现在生成使用相对网格路径的 URDF 和 SDF 1.11,GPU雷达
This commit is contained in:
1 parent
c710b955b1
commit
56f4b3adb0
24 files changed
+405
-208
No files matched your search
+3
-2
@@ -18,7 +18,7 @@ tools/
|
||||
├── capture_lio.py 录制 LIO 建图 / 评估数据
|
||||
├── build_vehicle.py 整车 STL → 仿真网格 + 布局 JSON
|
||||
├── decimate.py 网格降面
|
||||
├── gen_sdf.sh xacro → SDF / URDF
|
||||
├── gen_sdf.sh xacro → SDF 1.11 / URDF,使用相对网格路径
|
||||
├── _internal/ 启动链内部件;被 sentry_up.sh / launch / 测试 import
|
||||
├── validation/ 验收脚本(会真的拉起 Gazebo,跑完整流程)
|
||||
└── tests/ 回归测试(不碰 Gazebo 运动,最快的检查)
|
||||
@@ -47,7 +47,7 @@ tools/
|
||||
| `python3 tools/capture_lio.py --help` | 录制建图(`--profile mapping`)或评估(`--profile evaluation`)数据 |
|
||||
| `python3 tools/build_vehicle.py --help` | 整车装配体 STL → 仿真网格 + 布局 JSON。`--dry-run` 只打印分类结果 |
|
||||
| `python3 tools/decimate.py --help` | 顶点聚类降面:`decimate.py --grid 0.01 src.stl dst.stl` |
|
||||
| `tools/gen_sdf.sh` | xacro → `models/sentry/model.sdf` + `generated/sentry.urdf` |
|
||||
| `tools/gen_sdf.sh` | 从脚本位置定位仓库,生成使用相对网格路径的 SDF 1.11 和 URDF |
|
||||
|
||||
**发导航目标不用工具脚本**,用 xmake 产物 `build/bin/nav_client`。
|
||||
`xmake` 构建会自动刷新 `compile_commands.json`(clangd 靠它跳转)。
|
||||
@@ -100,6 +100,7 @@ python3 tools/validation/compare_lio_maps.py --dataset generated/full_shell/data
|
||||
|
||||
| 命令 | 需要什么 | 实测 |
|
||||
|---|---|---|
|
||||
| `python3 tools/tests/test_robot_description.py` | Python 3 | 相对网格路径、含空格的运行时 URI 和失败保留旧产物 |
|
||||
| `python3 tools/tests/test_project_env.py` | Python 3 和 Bash | 临时文件和假 Gazebo 覆盖路径、退出码、版本超时与桥等待 |
|
||||
| `python3 tools/tests/test_nav2_supervisor.py` | **什么都不需要**(不碰 ROS、不碰 Gazebo) | ✅ 5 项检查,约 1 秒 |
|
||||
| `python3 tools/tests/test_nav2_startup.py` | ROS 环境(起隔离 domain 的服务) | ✅ 15 项检查 |
|
||||
|
||||
Reference in new issue
Block a user