docs: 对齐 build/bin 布局、日志自动落盘、env_common 探测库与 tools 精简
This commit is contained in:
1 parent
0843c6ade0
commit
3c58a08dad
47 files changed
+1063
-2009
No files matched your search
@@ -20,7 +20,7 @@ xmake # 约 9 秒(首次),增量 0.5 秒
|
||||
xmake test # 3 个套件 223 项,约 5 ms
|
||||
```
|
||||
|
||||
产物在**仓库根**的 `build/linux/x86_64/release/{self_filter,patrol}`。
|
||||
产物在**仓库根**的 `build/bin/{self_filter,patrol}`。
|
||||
|
||||
| | 现在(纯 xmake) | 以前(colcon 侧) |
|
||||
|---|---|---|
|
||||
@@ -64,7 +64,7 @@ HEADLESS=0 scripts/sentry_up.sh # 节点自动从 build/ 取,不需要
|
||||
|
||||
| 能力 | 现在 | 备注 |
|
||||
|---|---|---|
|
||||
| `ros2 run sentry_nav xxx` | ❌ | 直接跑 `build/linux/x86_64/release/xxx` |
|
||||
| `ros2 run sentry_nav xxx` | ❌ | 直接跑 `build/bin/xxx` |
|
||||
| `ros2 launch sentry_nav/sentry_sim …` | ❌ | 主入口一直是 `scripts/sentry_up.sh` |
|
||||
| `ros2 pkg prefix` / `ament_index` | ❌ | `PKG_SHARE` 直接指 `src/sentry_sim` |
|
||||
| **自定义 `.msg` / `.srv` 代码生成** | ❌ | **以后要加消息类型就必须重新引入 colcon**(xmake 生成不了 ROS 消息的 C++/Python 绑定) |
|
||||
@@ -153,10 +153,10 @@ cd ~/Gazebo_projects/sentry_nav_dev
|
||||
source /opt/ros/lyrical/setup.bash
|
||||
|
||||
# 点云自滤(已由 scripts/sentry_up.sh 自动启动,单独跑用于调试)
|
||||
build/linux/x86_64/release/self_filter --ros-args -p use_sim_time:=true
|
||||
build/bin/self_filter --ros-args -p use_sim_time:=true
|
||||
|
||||
# 航点巡逻
|
||||
build/linux/x86_64/release/patrol --ros-args -p use_sim_time:=true \
|
||||
build/bin/patrol --ros-args -p use_sim_time:=true \
|
||||
-p loop:=false -p waypoints:="[2.0, 2.0, 4.0, 3.0, 3.0, 5.0]"
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user