feat: EvadeRecovery plugin (back up or turn to the free side)

- plugins/evade_core.h: pure geometry (polygon footprint, reverse sweep,
  rotation-arc sweep, free-side choice), tested with point lists
- plugins/evade_recovery.cpp: reads raw scans through
  RecoveryContext::sensors; holds on a short view loss, never drives on
  stale data
- RecoveryContext / behavior ABI additions for the sensor reader
This commit is contained in:
2026-11-27 22:06:59 +07:00
parent 0726abbe74
commit 001489c8a6
10 changed files with 1674 additions and 4 deletions

View File

@@ -44,6 +44,14 @@
<build_depend>yaml-cpp</build_depend>
<run_depend>yaml-cpp</run_depend>
<!-- Kho cảm biến thô dùng chung (RecoveryContext::sensors). Contract chỉ khai báo trước
SensorReader; EvadeRecovery đọc LaserScan qua template header-only, không link thêm. -->
<build_depend>robot_sensor_msgs</build_depend>
<run_depend>robot_sensor_msgs</run_depend>
<build_depend>robot_sensor_ports</build_depend>
<run_depend>robot_sensor_ports</run_depend>
<!-- Chỉ dùng cho test: fake clock/costmap/pose/collision. Gói chỉ có trên máy dev, nên chỉ là
test_depend; CMake chỉ find_package nó khi bật BUILD_RECOVERY_CORE_TESTS. -->
<test_depend>nav_test_harness</test_depend>