Files
RC2027_BR_code/minco_ws
walunt5 9073c370a5 feat(plan_env): 可选矩形 footprint(SAT 检测 + 朝向保持)
grid_map 增加 rectangle_footprint / footprint_length / footprint_width /
footprint_margin / footprint_yaw_tolerance 参数,以及 getRectangleOccupancy()、
rotationIsFree()、setFootprintHeading()、getInflateOccupancy(pos, yaw) 重载。

圆形(单圆 + 横向裕度)与矩形两种模型并存,默认仍是圆形。
矩形模式下一个任务只持有一个车体朝向,与路径切线无关——这正是原先
「胶囊/圆」近似无法表达的部分:圆模型对 80 cm 方形四角的覆盖是过度的,
对窄道两侧判据又不足。
2026-11-05 11:59:08 +08:00
..