Progress:
Changes

Summary

  1. feat_out:增加雷达巡检消息 (details)
Commit f8cfff55a6b8bddb3a3e1b1e95db2d04d1332108 by zhaojianfeng2
feat_out:增加雷达巡检消息

(cherry picked from commit cad3e79db9226bcc3d27e5f60c07da16d5667bca)
The file was addeddiagnose_msgs/msg/InspectRequest.msg
The file was modifieddiagnose_msgs/CMakeLists.txt

Summary

  1. fix(side-pass): 对绕障通道边界滤波,按通道位置和车身净空调整 DP 评分 (details)
Commit 6488e38ad2da6d76c13282d545b1b55d82a2ac36 by jiayifei
fix(side-pass): 对绕障通道边界滤波,按通道位置和车身净空调整 DP 评分

原来绕障时,横向位置代价始终以引导线 l=0 为参考,绕开障碍所需的横移也会被计罚。
通道代价又重罚候选曲线与目标位置的偏差,实测边界跳动一个栅格就可能改变候选点、
碰撞判定和左右路径的评分顺序,导致车辆停稳后仍反复切换绕行方向。

- 通道滤波与采样:对齐前后帧的同一断面。通道左右边缘变化均小于 0.35 m 时,
  对本帧测量与上帧滤波结果取平均。DP 按滤波后的通道和车身宽度生成候选点,
  并在空间允许时保留上一帧的绕行位置。碰撞判定使用本帧原始边界。

- 横向位置代价:普通绕障时,按候选曲线所在通道确定横向参考 ref_l。
  通道包含 l=0 时取 0,完全在左侧时取通道右边缘,完全在右侧时取通道左边缘。
  ref_l 直接由滤波边界确定,按车身中心与 ref_l 的实际横向距离平方计罚。

- 通道净空代价:取车身左右两侧到通道边界的较小净空。净空达到 0.5 m 时
  该项为零,不足时按净空缺口占通道宽度的比例平方计罚,纵向窗口取最大罚分。
  截面有通道但车身中心落在所有通道外时,标记碰撞并计入固定罚分。

同时修正倒车断面错位、挂车误用车头宽度、禁偏移区惩罚未生效、历史路径
偏差计算单位不一致,以及右绕状态误触发历史复用的问题。复用历史路径前,
校验参考线对齐情况及车身能否通过当前通道。
The file was modifieddata/dp_poly_path/trajectory_cost.hpp
The file was modifieddata/dp_poly_path/trajectory_cost.cpp
The file was modifieddata/plan/side_pass_data.cpp
The file was modifiedtasks/deciders/lat_decider/trailer_side_pass_decider.cpp
The file was modifiedtasks/deciders/lat_decider/side_pass_decider.cpp
The file was modifieddata/boundary/driving_corridor.cpp
The file was modifieddata/dp_poly_path/dp_road_graph.hpp
The file was modifieddata/boundary/driving_corridor.hpp
The file was modifieddata/dp_poly_path/dp_road_graph.cpp