实现了yaw轴的转动,mid360参数更加接近实际的参数
This commit is contained in:
1 parent
72f407c110
commit
96445bd5f1
61 files changed
+2460
-235
No files matched your search
@@ -3,18 +3,20 @@
|
||||
| 文件 | 说明 |
|
||||
|---|---|
|
||||
| `nav2_params.yaml` | Nav2 全部参数(代价地图、MPPI 控制器、AMCL、行为树…) |
|
||||
| `field_cloud.yaml` | 建图、定位与录制共用的比赛场地 XYZ 裁剪范围 |
|
||||
| `sentry.rviz` | RViz 布局(Map / LaserScan / TF / Costmap 已配好) |
|
||||
|
||||
## nav2_params.yaml 里改过的关键项
|
||||
|
||||
| 参数 | 值 | 为什么 |
|
||||
|---|---|---|
|
||||
| `footprint` | `[[0.325,0.270],[0.325,-0.270],[-0.325,-0.270],[-0.325,0.270]]` | 车体 0.578×0.521 实测 |
|
||||
| `inflation_radius` | `0.45`(默认 0.70 会把 12×8 场地填死) | 场地太小 |
|
||||
| `footprint` | `[[0.305,0.305],[0.305,-0.305],[-0.305,-0.305],[-0.305,0.305]]` | 0.61×0.61 正方形:必须覆盖云台 yaw 的扫掠圆(半径 0.3021 m,见 `src/sentry_sim/urdf/README.md`) |
|
||||
| `inflation_radius` | `0.60`(默认 0.70 会把 12×8 场地填死;0.45 太贴障碍) | 场地太小 + 矩形底盘要留转向余量 |
|
||||
| `consider_footprint` | `true` | 与矩形 footprint 对齐,否则 MPPI 判碰撞不一致 |
|
||||
| `enable_stamped_cmd_vel` | `false`(**8 处**:bt_navigator / controller_server / behavior_server / route_server / velocity_smoother / collision_monitor / docking_server / following_server) | 本版本默认发 TwistStamped,而 ros_gz 桥只认 Twist |
|
||||
| `default_server_timeout` / `wait_for_service_timeout` | `15000` | 本机启动慢,否则 BT 建树失败 |
|
||||
| local costmap `plugins` | 只有 `inflation_layer` | 2D 雷达会扫到车身自身,参与代价地图会把自己围死 |
|
||||
| global costmap `plugins` | `static_layer` + `inflation_layer` | 场地是静态的,用地图就够 |
|
||||
| local costmap `plugins` | `static_layer`、`voxel_layer`、`inflation_layer` | 静态栅格和自滤后的实时点云 |
|
||||
| global costmap `plugins` | `static_layer`、`obstacle_layer`、`inflation_layer` | 使用同一份自滤点云处理动态障碍 |
|
||||
| 障碍标记 / 清障距离 | 4.5 m / 8 m | 避障距离独立于原始雷达的 40 m 量程 |
|
||||
|
||||
> 改之前先看一眼注释,里面写了每处的原因。
|
||||
Reference in new issue
Block a user