2b0993bd5329dc6e10151dc0b50cb090a6ad0129
- robot_nav_core::Preemptable (new header): mixin a BaseGlobalPlanner may
implement to accept a preempt() cut during makePlan(), no vtable break for
planners that don't.
- move_base_core::component_status_probe.h (new): ComponentStatusEntry +
boost::dll alias name ("MoveBaseComponentStatus") a host can probe to read
per-component phase (idle/busy/stopping/paused/hung) without linking
move_base2 directly.
- nav_c_api_2.h/.cpp: NavComponentStatus struct and
navigation_get_component_status() — lazy dlsym of the probe above, returns
0 rows if the loaded .so doesn't export it. Doc: PREEMPTING is now a
truthful "still winding down" state, not "acknowledged", and a host must
poll to quiescence rather than resend immediately.
- move_base_common_params.yaml: settle_timeout, stopped_measured_linear/
angular_eps, watchdog_period + per-component stall budgets (Vietnamese
comments, matches the schema). Also fixes a wrong comment on
max_planning_retries: 0 means escalate on the FIRST failure, not
"unlimited" (-1 is unlimited) — the inverted comment likely caused the
dev machine's max_planning_retries: 0.
Root cause and measurements: Test/move_base2/docs/PLAN_LIFECYCLE_CANCEL_PAUSE_RESUME.md.
Excluded from this commit (pre-existing, unrelated): config/hybrid_local_planner_params.yaml,
config/priest_local_planner_params.yaml, config/recovery_behaviors_params.yaml (dock/PRIEST
tuning, dated before this work), src/Libraries/common_msgs and src/Libraries/costmap_2d
(submodule pointer bumps from other work), src/Libraries/robot_cpp console throttle changes
and doc/cpp_host_guide.md (separate, unrelated task).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
pnkx_nav_core
Phần mềm quản lý việc di chuyển navigation
Description
Languages
C++
84%
CMake
7.9%
C
5.5%
Python
1.5%
MATLAB
0.9%
Other
0.2%