sync: pin dock_pattern_detector, costmap_2d; add trolley_detection_action (handler off)

- dock_pattern_detector -> c568e90 (LegPatternMatcher, needed by the new action)
- costmap_2d -> 3539afb (yaml-cpp linked into depth_camera_obstacle_layer_test)
- add submodule trolley_detection_action (bfdcac5) and its add_subdirectory
  in the root CMakeLists.txt
- config/runtime/action_handlers_params.yaml: new keys only (detect_trolley
  block, TrolleyDetectionActionHandler library_path). The handler line in
  `handlers:` stays commented, so the robot does not load it until a real
  trolley is measured (doc/MEASURE_AND_CONFIGURE.md in the new package).
This commit is contained in:
2026-10-28 14:09:25 +07:00
parent 2f6c0b1636
commit 43e82bb18c
6 changed files with 142 additions and 2 deletions

View File

@@ -270,6 +270,14 @@ if (NOT TARGET dock_pattern_action_handler)
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/actions/dock_pattern_action)
endif()
# Bộ dò xe hàng 4 chân từ scan LiDAR thô, nạp như một action handler. Cần dock_pattern_detector
# (LegPatternMatcher), action_core và robot_sensor_ports — đều đã add ở trên.
#
# ⚠ Guard kiểm target thư viện `trolley_detection_action_handler`, như dock_pattern_action.
if (NOT TARGET trolley_detection_action_handler)
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/actions/trolley_detection_action)
endif()
# C API for .NET/C# integration. Target is `nav_c_api` — the guard must name the same target,
# otherwise it never matches and the subdirectory is added twice on a re-entrant configure.
if (NOT TARGET nav_c_api)