Changes

Summary

  1. fix: 修正出库接入地图和对准阶段的终点余距 (details)
  2. fix: 路口前进首段优化无解时优先续用历史路径 (details)
  3. fix: 保留正向 SSEP 引导线并统一参考线拼接 (details)
  4. fix: 路口重搜优先前进并在换向时接入历史路径 (details)
  5. fix: 保留路口重搜命令并在路径拼接成功后确认换向 (details)
  6. feat: 在规划地图上显示限速区域轮廓 (details)
  7. fix: 搜索末段接入道路时取场景与车道限速的较小值 (details)
  8. fix: 路口前进段停稳后人工重搜允许倒车再前进 (details)
  9. fix: 支持按场景配置多段卡车搜索的换向代价 (details)
  10. fix: 保留路口切入散料进场时的历史引导线 (details)
  11. fix: 散料进场等待首份 KEB 结果时沿用历史执行路径 (details)
  12. fix: 普通路口多段首段等待 KEB 时沿用历史执行路径 (details)
Commit fe21157389870b369f4ac290e959f608d3b662e9 by wuyanjun110
fix: 修正出库接入地图和对准阶段的终点余距

出库接入地图后按实车位置更新当前路段余距,对准阶段持续计算有符号距离。路由匹配失败时使余距失效,防止沿用上一帧的终点距离。

增加短距离出库回归,覆盖连续匹配失败、恢复以及越过任务终点后的负余距。
The file was modifieddata/vehicle/vehicle_destination.cpp
The file was modifieddata/map/pnc_map/routing_extension/routing_data.cpp
The file was modifiedTesting/routing_transition_test.cpp
Commit 9d8e506af5352adf0232cfc07d5a205fdd7697db by wuyanjun110
fix: 路口前进首段优化无解时优先续用历史路径

校验搜索请求、分段、方向和换向点覆盖范围,在本帧无优化路径时复用有效历史,并按当前车位更新换向停车余距。历史不适用时回退到当前引导线,避免因引导线横偏超过拼接门限误报路径终止。

覆盖历史末点略短于换向点、尾段余量不足、请求或分段变化和新优化结果优先等边界。
The file was modifiedTesting/reference_line_replan_test.cpp
The file was modifiedtasks/other_tasks/stitch_path_data_to_path.cpp
Commit 7f618e7be9e4f4d60204d715ca34feff32a9a719 by wuyanjun110
fix: 保留正向 SSEP 引导线并统一参考线拼接

CAR、TRUCK 和 IMV 的普通正向首段先直拼地图参考线,再尝试几何过渡。入口不足时按搜索段投影选择车后短延长或历史入口,并保留原始搜索节点和可用出口。

普通路口单段出口反向时在搜索末点收尾。参考线重复经过搜索首点时按完整点序识别已拼接段,避免错误切换。补充车型、接缝、投影边界和出口回归用例。
The file was modifiedTesting/reference_line_replan_test.cpp
The file was modifieddata/plan/search_reference_prefix.cpp
The file was modifiedtasks/other_tasks/stitch_path_to_reference_line.cpp
The file was modifieddata/plan/ssep_data.cpp
The file was modifiedreplayer/scene_data/generated/full_custom_cpp_member_inputs.json
The file was modifiedreplayer/scene_data/generated/plan_frame_member_inputs.json
The file was modifieddata/plan/search_reference_prefix.hpp
The file was modifiedtasks/other_tasks/stitch_path_to_reference_line.hpp
The file was modifieddata/plan/guide_line.cpp
The file was modifiedplan/junction_search_entry.hpp
Commit a4b1236a632d82d039a3dfee4207e9ec786acf94 by wuyanjun110
fix: 路口重搜优先前进并在换向时接入历史路径

人工末段重搜先搜索全前进路径,失败后在同一时限内允许一次倒车再前进。自动切入倒车时从实际位姿优化上次剩余路径,无法接入则回退到普通搜索。

按最终发布的分段验收车身、换向净空、转角和出口,并让离线回放使用在线请求冻结的起步方向。
The file was modifiedssep/offboard/ssep_planner_wrapper.cc
The file was modifiedssep/scenarios/scenario_planner_factory.h
The file was modifiedssep/scenarios/truck_multi_seg_general_planner.h
The file was modifiedssep/ssep_planner.cc
The file was modifiedssep/data_structures/ssep_input.cc
The file was modifiedssep/test/rigid_truck_parking_validation_test.cc
The file was modifiedssep/scenarios/junction_adjustment_policy.h
The file was modifieddata/ssep/ssep_activation.cpp
The file was modifiedssep/scenarios/scenario_planner_interface.h
The file was modifieddocs/ssep_stop_collision_extension.md
Commit 66e9703d1f2f3eaef73448343f0be1b8395f5de3 by wuyanjun110
fix: 保留路口重搜命令并在路径拼接成功后确认换向

同一路口切入倒车时传递未经延长的剩余搜索路径,等停和旧搜索完成期间保留后到的人工请求。引导线及执行路径验收成功后确认换向,拒收后沿用原执行方向和计数。

将跨帧接管所需的命令、请求起始计数及累计换向额度纳入回放,覆盖异步完成、拼接拒收、重试和独立帧恢复。
The file was modifiedreplayer/scene_data/compact_numeric_leaf_contract.csv
The file was modifiedscenarios/stage.cpp
The file was modifiedtasks/other_tasks/stitch_path_data_to_path.cpp
The file was modifieddata/plan/ssep_task_context.hpp
The file was modifiedreplayer/scene_data/full_proto_custom_encoder.cpp
The file was modifiedreplayer/scene_data/generated/plan_frame_encoder.cpp
The file was modifiedreplayer/scene_data/generated/full_custom_cpp_member_inputs.json
The file was modifiedreplayer/scene_data/generated/plan_frame_field_roles.json
The file was modifiedTesting/parking_pass_progress_test.cpp
The file was modifiedTesting/search_decider_lifecycle_test.cpp
The file was modifiedreplayer/scene_data/generated/compact_exact_numeric_visitor.cpp
The file was modifiedreplayer/scene_data/plan_frame_nested_persistence_review.yaml
The file was modifieddocs/pnc_algorithm_replay/plan_frame_persistence_catalog.md
The file was modifiedTesting/reference_line_replan_test.cpp
The file was modifieddata/ssep/into_yard_junction_ec.cpp
The file was modifiedreplayer/scene_data/plan_frame_field_roles.csv
The file was modifieddata/plan/junction_adjustment_state.hpp
The file was modifieddata/plan/ssep_data.cpp
The file was modifiedTesting/ssep_scenario_config_lifecycle_test.cpp
The file was modifieddocs/ssep/junction_adjustment.md
The file was modifieddata/ssep/reverse_ec.cpp
The file was modifiedreplayer/scene_data/compact_custom_field_proto_codec.cpp
The file was modifiedreplayer/scene_data/plan_frame_persistence_policy.yaml
The file was modifiedreplayer/scene_data/generated/compact_scene_descriptor.pb
The file was modifiedreplayer/scene_data/generated/plan_frame_descriptor.pb
The file was modifiedproto/plan_data.proto
The file was modifiedtasks/deciders/search_decider/search_decider_lifecycle.cpp
The file was modifiedTesting/scene_replay_foundation_test.cpp
The file was modifiedtasks/other_tasks/create_guide_line.cpp
The file was modifieddata/plan/ssep_data.hpp
The file was modifieddata/ssep/ssep_ec.cpp
The file was modifiedplan/junction_reverse_handover.hpp
The file was modifiedreplayer/scene_data/generated/plan_frame_member_inputs.json
The file was modifiedtasks/deciders/other_decider/replan_decider.cpp
The file was modifiedtasks/plan/ssep_task.cpp
The file was modifieddata/plan/ssep_task_context.cpp
The file was modifiedreplayer/scene_data/generated/scene_replay_api_descriptor.pb
The file was modifiedreplayer/scene_data/generated/full_custom_codec_coverage_audit.yaml
The file was modifiedreplayer/scene_data/compact_numeric_policy.yaml
The file was modifieddata/ssep/forward_ec.cpp
The file was modifiedtasks/other_tasks/stitch_path_to_reference_line.cpp
Commit 2ca079ba5aeffed361f413f7ca5f17427bcf6be3 by wuyanjun110
feat: 在规划地图上显示限速区域轮廓

使用当前帧的车辆位姿投影配置中的多边形,在实时和回放地图上以亮青色绘制闭合边界,便于对照车辆和规划路径。
The file was modifiedhmi/draw/draw_map.cpp
Commit 678831e72e2d4a78cebac25aedf8c10c0cdc1279 by wuyanjun110
fix: 搜索末段接入道路时取场景与车道限速的较小值

Bulk 出库、路口多段调整和 OpenSpace 在末段实际接入地图时,按行进方向从车头或车尾计算限速区间。直接拼接使用实际选中的车道,执行路径在该车道内截断时保留限速到本帧末端。

补充正倒车拼接、道路切换、路径截断和最终规划轨迹的回归测试。
The file was modifiedTesting/bulk_speed_limit_test.cpp
The file was modifiedtasks/other_tasks/stitch_path_data_to_path.cpp
The file was modifiedtasks/deciders/long_decider/constrain_decider.cpp
The file was modifiedTesting/reference_line_replan_test.cpp
The file was modifiedtasks/deciders/long_decider/constrain_decider.hpp
The file was modifiedtasks/other_tasks/stitch_path_data_to_path.hpp
Commit 3bdb71b74ab7041397abb5ecdca5c3ff02796196 by wuyanjun110
fix: 路口前进段停稳后人工重搜允许倒车再前进

在非末段前进时,车辆停稳且剩余至少两次换向才启用前进优先搜索。纯前进失败后允许直接起倒并向前接回出口,接收候选时复核车辆状态和剩余额度。

主路径拼接成功后确认换向进度。引导线、路径拼接或后续规划任务拒收时,恢复原前进分段、换向点和计数。补充请求、切段与回退回归用例,覆盖 01:22:03 现场失败场景对应的状态。
The file was modifiedTesting/reference_line_replan_test.cpp
The file was modifieddata/plan/ssep_task_context.hpp
The file was modifieddata/plan/ssep_data.hpp
The file was modifiedreplayer/scene_data/generated/full_custom_cpp_member_inputs.json
The file was modifiedTesting/ssep_scenario_config_lifecycle_test.cpp
The file was modifiedtasks/other_tasks/stitch_path_data_to_path.cpp
The file was modifieddocs/ssep/junction_adjustment.md
The file was modifiedtasks/other_tasks/create_guide_line.cpp
The file was modifiedTesting/parking_pass_progress_test.cpp
The file was modifieddata/plan/ssep_data.cpp
The file was modifiedscenarios/stage.cpp
The file was modifieddata/ssep/ssep_ec.cpp
The file was modifiedtasks/other_tasks/junction_adjustment_execution.hpp
The file was modifieddata/plan/ssep_task_context.cpp
The file was modifiedreplayer/scene_data/generated/plan_frame_member_inputs.json
Commit e87b7be9f77651f06e45fd31e7a62f97f80cd069 by wuyanjun110
fix: 支持按场景配置多段卡车搜索的换向代价

多段卡车规划沿用 IMV 的 dir_switching_weight 配置键,在允许两次换向的固定目标路口首次搜索时默认取 10,让搜索在时限内更早展开倒车调整分支。已接管路径的路口重搜沿用代价 20。

校验场景及权重取值,兼容旧路口配置键,并补充规则切换和规划入口测试。
The file was modifieddata/ssep/ssep_scenario_config_loader.cpp
The file was modifieddocs/ssep/junction_adjustment.md
The file was modifiedssep/test/rigid_truck_parking_validation_test.cc
The file was modifiedTesting/ssep_scenario_config_lifecycle_test.cpp
The file was modifiedssep/scenarios/truck_multi_seg_general_planner.h
Commit 2633c796523695a7d97536f0d48c2ccdd5aed60e by wuyanjun110
fix: 保留路口切入散料进场时的历史引导线

缓存同任务上一搜索场景的前进 SSEP,以已有引导线接入散料搜索首段。任务、请求或分段切换时释放入口缓存,连续回放按线上选线条件恢复历史。

覆盖搜索等待、同一请求复用、历史不可用和任务切换的回归用例。
The file was modifieddata/plan/guide_line.cpp
The file was modifiedplan/junction_search_entry.hpp
The file was modifiedreplayer/replayer_data_process/replayer_data_process.cpp
The file was modifieddata/plan/ssep_data.cpp
The file was modifiedTesting/reference_line_replan_test.cpp
The file was modifieddata/plan/search_reference_prefix.cpp
Commit bc8a1da960705849bdbebb324389b1c5ade02bd0 by wuyanjun110
fix: 散料进场等待首份 KEB 结果时沿用历史执行路径

前进首段搜索就绪后,在自车和搜索入口仍匹配同任务已下发路径时选择 LAST_PATH。连续等待只沿用同一请求的有效历史,KEB 结果就绪后按原优先级接管。

通过模式选择测试覆盖首次等待、连续复用、结果接管以及历史缺失和方向变化。
The file was modifiedtasks/other_tasks/stitch_path_data_to_path.cpp
The file was modifiedTesting/reference_line_replan_test.cpp
Commit da901b8c349198c3313d270c77acb741f14b9104 by wuyanjun110
fix: 普通路口多段首段等待 KEB 时沿用历史执行路径

识别同一任务和路口请求从等待到首次分段激活的交接。前进首段尚无 KEB 输出时,校验自车位置、路径方向和真实换向点后沿用已下发路径,按该路径计算停车距离。

覆盖首次交接、持续等待、优化接管,以及换请求、已有分段和路径不匹配时的回退。
The file was modifieddata/plan/ssep_task_context.cpp
The file was modifiedtasks/other_tasks/stitch_path_data_to_path.cpp
The file was modifiedplan/junction_search_entry.hpp
The file was modifiedTesting/reference_line_replan_test.cpp