Changes

Summary

  1. feat: 支持边界外障碍膨胀侵入走廊后的避让 (details)
  2. fix: 为启用外部障碍避让的前向参考预留一厘米余量 (details)
  3. fix: 恢复 Proto 编码器生成文件以通过构建门禁 (details)
Commit 4e95f643b890889096f5952c32c3d002d83c6899 by wuyanjun110
feat: 支持边界外障碍膨胀侵入走廊后的避让

新增默认关闭的边界外障碍膨胀开关,按障碍来源的安全余量更新走廊,
供 DP 撒点、曲线检查、历史路径复核及边界生成使用。

允许拼接起点在原始可行区域内连续恢复新增安全余量,按物理车身
覆盖断面计算初始缺口,并修正倒车车身姿态及前后悬断面定位。
同步 Full 字段与 Compact 重建、配置兼容及相关回归测试。

验证:此前相关单元测试和场景回放共 776 项通过、13 项跳过;
修改范围已使用项目 .clang-format 格式化,diff 检查通过。

已知问题:路径与车身均按 1 m 采样时,仍可能漏过 0.5 m 断面的
外部膨胀约束。已通过独立测试进程将步长改为默认值复现,尚未修复;
现有 0.1 m 步长用例未覆盖此组合。
The file was modifiedreplayer/scene_data/config_proto_codec.cpp
The file was modifiedreplayer/scene_data/compact_custom_field_proto_codec.cpp
The file was modifiedreplayer/scene_data/full_proto_custom_encoder.cpp
The file was modifiedreplayer/scene_data/generated/full_custom_cpp_member_inputs.json
The file was modifieddata/boundary/driving_corridor_test.cpp
The file was modifieddata/config/cfg_func_sw.hpp
The file was modifieddata/boundary/driving_corridor.hpp
The file was modifieddata/dp_poly_path/trajectory_cost.hpp
The file was modifiedreplayer/scene_data/generated/scene_replay_api_descriptor.pb
The file was modifiedreplayer/scene_data/generated/config_schema_inputs.json
The file was modifiedproto/config.proto
The file was modifiedTesting/scene_replay_foundation_test.cpp
The file was modifieddocs/pnc_algorithm_replay/plan_frame_field_contract_notes.md
The file was modifiedproto/plan_data.proto
The file was modifiedreplayer/scene_data/compact_numeric_leaf_contract.csv
The file was modifieddata/dp_poly_path/dp_road_graph.cpp
The file was modifieddata/dp_poly_path/trajectory_cost_test.cpp
The file was modifiedreplayer/scene_data/generated/compact_scene_descriptor.pb
The file was modifiedreplayer/scene_data/compact_numeric_policy.yaml
The file was modifiedreplayer/scene_data/generated/compact_exact_numeric_visitor.cpp
The file was modifiedreplayer/scene_data/generated/plan_frame_descriptor.pb
The file was modifieddata/boundary/driving_corridor.cpp
The file was modifiedreplayer/scene_data/generated/full_custom_codec_coverage_audit.yaml
The file was modifieddata/config/cfg_func_sw.cpp
The file was modifiedreplayer/scene_data/generated/plan_frame_encoder.cpp
The file was modifiedTesting/compact_driving_corridor_restore_test.cpp
The file was modifieddata/dp_poly_path/trajectory_cost.cpp
The file was modifieddata/dp_poly_path/dp_road_graph_test.cpp
Commit 653fea95b136616c731002d7b125c5fa30d83b0d by wuyanjun110
fix: 为启用外部障碍避让的前向参考预留一厘米余量

将前向参考限制在车身中心可行边界内并尽量预留两侧各 0.01 m,
不足 0.02 m 的区间取中点,不扩大硬边界或覆盖统一拼接起点。
关闭开关时保持原有参考行为,补充窄区间及开关回归测试和使用说明。

PJPO 保持原有求解及历史路径、引导线兜底链路,参考余量不构成
最终车身净距保证。相关单元测试和场景回放已验证。
The file was modifieddocs/side_pass_function.md
The file was modifiedtasks/deciders/lat_decider/path_bounds_decider.hpp
The file was modifiedtasks/deciders/lat_decider/path_bounds_decider.cpp
The file was modifiedTesting/path_bounds_reference_test.cpp
Commit 756f4d60a73b642b22f6860ec7b969b24dfdf870 by wuyanjun110
fix: 恢复 Proto 编码器生成文件以通过构建门禁

通过 Taskfile 的统一生成流程恢复 plan_frame_encoder.cpp 的规范输出。
此前对生成文件执行 clang-format 拆分了 Schema 哈希字符串,导致
生成器逐字检查判定文件过期;本次不改变哈希内容、字段或编码逻辑。

验证:check-generated 和 check-proto-breaking 共 49 项检查全部通过,
git diff --check 通过。生成源码保持生成器原样,不再单独格式化。
The file was modifiedreplayer/scene_data/generated/plan_frame_encoder.cpp