luxb: drop unused planners and actions, use PNKXLocalPlanner
Removes the submodules this robot does not use: mppi_local_planner, priest_local_planner, priest_mpcc_local_planner, stanley_local_planner, trolley_detection_action and wall_reflector_detection_action, together with their add_subdirectory blocks and config files. Config: the position profile uses CustomPlanner + PNKXLocalPlanner, the trolley/wall handlers and the GOTOWALLSTATION chain are gone, the pallet chain detects with DetectPallet, the forbidden/preferred/unpreferred/ direction layers and the lidar VoxelLayer are commented out, EnvMonitor and recovery are off. pnkx_local_planner drops its DEBUG log lines.
This commit is contained in:
@@ -209,22 +209,6 @@ if (NOT TARGET hybrid_local_planner)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/hybrid_local_planner)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET mppi_local_planner)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/mppi_local_planner)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET priest_local_planner)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/priest_local_planner)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET priest_mpcc_local_planner)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/priest_mpcc_local_planner)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET stanley_local_planner)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/local_planners/stanley_local_planner)
|
||||
endif()
|
||||
|
||||
if (NOT TARGET robot_actionlib_msgs)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Navigations/Libraries/robot_actionlib_msgs)
|
||||
endif()
|
||||
@@ -281,23 +265,6 @@ 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()
|
||||
|
||||
# Bộ dò trạm dừng trước tường có hai dải phản quang, từ scan LiDAR thô, nạp như một action handler.
|
||||
# Cần dock_pattern_detector (ReflectorPairMatcher), action_core và robot_sensor_ports — đều đã add ở
|
||||
# trên.
|
||||
#
|
||||
# ⚠ Guard kiểm target thư viện `wall_reflector_detection_action_handler`, như hai gói action trên.
|
||||
if (NOT TARGET wall_reflector_detection_action_handler)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/src/Algorithms/Packages/actions/wall_reflector_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)
|
||||
|
||||
Reference in New Issue
Block a user