docs: 更新为设备实际运行参数表(比赛固化)
This commit is contained in:
@@ -407,6 +407,33 @@ lcd_render():
|
||||
|
||||
**注意:** `global.h` 中的 `CfgCache` 默认值和 `ctl.sh` 写入的值不一致(如 speed: 60 vs 11)。`ctl.sh` 写入的值覆盖代码默认值,是实际运行参数。
|
||||
|
||||
### 当前比赛设备实际参数
|
||||
|
||||
以下为设备上 `/home/root/smartcar2/` 下方配置文件的实际值(截至提交时),调试模式下每 30 帧热重载:
|
||||
|
||||
| 参数 | 值 | 说明 |
|
||||
|------|-----|------|
|
||||
| `speed` | 16 | 目标速度 (% 占空比) |
|
||||
| `deadband` | 8 | 舵机死区 (像素) |
|
||||
| `steer_gain` | 1.5 | 舵机增益 |
|
||||
| `foresee` | 40 | 前瞻行 (显示空间) |
|
||||
| `foresee_lost_scale` | 0.6 | 丢线前瞻缩放 |
|
||||
| `sharp_turn_scale` | 0.5 | 急弯前瞻缩放 |
|
||||
| `zebrasee` | 18 | 斑马线近界阈值 |
|
||||
| `curve_slope` | 0.2 | 弯道减速斜率 |
|
||||
| `curve_min` | 0.8 | 弯道最低速度倍率 |
|
||||
| `cone_avoid_gain` | 0.3 | 锥桶推离量 |
|
||||
| `cone_avoid_range` | 30 | 锥桶斜坡陡峭度 |
|
||||
| `cone_speed` | 0.5 | 锥桶速度倍率 (当前未生效) |
|
||||
| `cone_min_frames` | 3 | 锥桶确认帧数 |
|
||||
| `cone_thresh` | 0.80 | 锥桶置信度阈值 |
|
||||
| `cone_hold_frames` | 30 | 锥桶消失后保持帧数 |
|
||||
| `brake_scale` | 10 | 刹车速度→占空比 |
|
||||
| `brake_max` | 10000 | 最大刹车占空比 (ns) |
|
||||
| `lidar_enable` | 1 | 激光避障 (代碼中已禁用) |
|
||||
| `start` | 1 | 电机使能运行中 |
|
||||
| `debug` | 1 | 热调参模式 |
|
||||
|
||||
---
|
||||
|
||||
## 代码中未使用的模块
|
||||
|
||||
Reference in New Issue
Block a user