Changes

Summary

  1. fix: 对齐挂车姿态与防护判定时间 (details)
  2. feat: 显示硬保护实际命中点并简化默认框图层 (details)
  3. feat: 按区域预测时间计算沟点防护距离 (details)
Commit c43e4c600bb565d288dace7e55502f8e4c4ee0d1 by wuyanjun110
fix: 对齐挂车姿态与防护判定时间

根据历史定位和挂车运动学推进延迟姿态,定位之后的位移沿用点云补偿的方向及时间上限,避免旧挂车角度与补偿后点云错位造成误防护。
保留原始姿态的自车点过滤框,并扩展粗筛 AABB;历史缺失或异常时回退原始姿态。

新增前后向、跨角度边界、异常回退及生产链路回归,并提供现场 bag 关键帧提取与验证入口。19:46 误命中消除,21:47 车头上层保护保留;验证范围为关键帧 TTC 输入边界,并非整包回放。
The file was modifiedprepare/prepare_pose_predict.cpp
The file was modifieddata/vehicle/vehicle_state.hpp
The file was modifiedtests/ttc_min_speed_test.cpp
The file was modifieddata/common/predict_path.cpp
The file was addedtests/trailer_alignment_bag_test.hpp
The file was addedtests/extract_trailer_alignment_scene.py
The file was modifieddata/vehicle/vehicle_state.cpp
The file was modifiedtests/README.md
The file was addedtests/trailer_alignment_test.hpp
Commit bbadbf1d10513f9b602a8c55872504ddeaa781a7 by wuyanjun110
feat: 显示硬保护实际命中点并简化默认框图层

采集实际触发的实体与余量命中框及补偿后点云,显示来源、距离和坐标,沿用碰撞点图层开关及告警颜色。扫描与显示共用点筛选条件,不改变防护判定;关闭 GUI、无命中或历史继承时清理快照,异步线程不采集。
默认隐藏车头、挂车和跨运车下层预测框,仍可手动打开,实际命中框继续显示。

补充坐标补偿、清理、双分支、显示开关及颜色回归;扩展网格等价测试以校验命中几何,支持现场关键帧绘图。
The file was modifieddata/monitor/ttc_proximity.cpp
The file was modifieddata/monitor/ttc_guardian_data.hpp
The file was modifieddata/monitor/ttc_proximity.hpp
The file was modifiedtests/ttc_grid_scan_test.hpp
The file was modifiedtests/trailer_alignment_bag_test.hpp
The file was modifieddraw/draw_ogm_pts.cpp
The file was modifieddraw/draw_ttc.hpp
The file was modifieddraw/draw_diagnose.cpp
The file was modifiedtests/ttc_min_speed_test.cpp
The file was modifiedtests/README.md
The file was modifieddata/monitor/ttc_guardian_data.cpp
The file was addedtests/ttc_hard_hit_draw_test.hpp
Commit 972e679f48d079fd42b6a677a3b1d0281c4126ed by wuyanjun110
feat: 按区域预测时间计算沟点防护距离

沟点框沿运动方向的距离改为取最小预测速度下限后的车速乘 safe thr 预测时间,并受最大延伸距离限制。前进、倒车和横移统一使用缩短优先、倒车其次的区域时间规则。
新增独立 anti_ditch_min_predict_velocity 参数,默认 0.5 m/s,普通 TTC 最小预测速度仍为 1.0 m/s。原延伸长度参数作为最大距离,配置与加载默认统一为 3 米。

回归覆盖静止低速、配置覆盖、零下限、方向与尺寸、时间选择、距离限幅和无效输入。编译和默认回归通过。
The file was modifieddata/common/predict_path.cpp
The file was modifieddata/config/cfg_safe_const.hpp
The file was modifiedtests/ttc_min_speed_test.cpp
The file was modifieddata/config/cfg_safe_const.cpp
The file was modifiedconfig/guardian_truck.yaml
The file was modifiedconfig/guardian_imv.yaml
The file was addedtests/anti_ditch_horizon_test.hpp
The file was modifiedtests/README.md