refactor: host EnvMonitor from env_monitor_core, route per detector
EnvMonitor and its detectors now live in env_monitor_core. NavigationRuntime owns the monitor; StateMachine runs each detector's own route (step or sequence, lock or abort on exhaustion) with a cursor per detector. RecoveryRunner accepts named routes for detectors outside the six built-in triggers.
This commit is contained in:
@@ -108,6 +108,9 @@ if(NOT BUILDING_WITH_CATKIN)
|
||||
action_core
|
||||
mission_adapters
|
||||
|
||||
# Lõi EnvMonitor. Nhánh standalone cần `add_subdirectory` của gói này ở pnkx_nav_core/CMakeLists.txt.
|
||||
env_monitor_core
|
||||
|
||||
# Kho cảm biến thô dùng chung. NavigationServer ghi vào, runner phát cổng đọc ra plugin.
|
||||
robot_sensor_ports
|
||||
|
||||
@@ -160,6 +163,9 @@ else()
|
||||
# ActionRunner include thẳng action_core: chỗ duy nhất trong gói này biết tới nó.
|
||||
action_core
|
||||
|
||||
# ControlLoop giữ EnvMonitor (lõi giám sát môi trường) và nối verdict vào state machine.
|
||||
env_monitor_core
|
||||
|
||||
# Kho cảm biến thô dùng chung. NavigationServer ghi vào, runner phát cổng đọc ra plugin.
|
||||
robot_sensor_ports
|
||||
|
||||
@@ -234,7 +240,6 @@ add_library(move_base2_core SHARED
|
||||
src/velocity_arbiter.cpp
|
||||
src/plan_inspector.cpp
|
||||
src/grid_analysis.cpp
|
||||
src/env_monitor.cpp
|
||||
src/control_loop.cpp
|
||||
src/config/move_base2_config.cpp
|
||||
src/runners/recovery_runner.cpp
|
||||
@@ -472,7 +477,6 @@ if(BUILD_MOVE_BASE2_TESTS AND BUILDING_WITH_CATKIN AND CATKIN_ENABLE_TESTING)
|
||||
velocity_arbiter_test
|
||||
plan_inspector_test
|
||||
grid_analysis_test
|
||||
env_monitor_test
|
||||
walking_skeleton_test
|
||||
config_validation_test
|
||||
action_runner_test
|
||||
|
||||
Reference in New Issue
Block a user