duongtd 2b0993bd53 feat: lifecycle contract for move_base2 cancel/pause/resume + component status probe
- 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>
2026-09-12 22:06:17 +07:00
2026-08-10 21:42:52 +07:00
2026-08-10 21:42:52 +07:00
2026-03-11 07:18:54 +00:00
2026-03-17 10:01:48 +00:00
2026-04-23 17:11:47 +07:00
2026-08-10 21:42:52 +07:00
2026-03-02 07:50:30 +00:00
2025-12-05 03:48:05 +00:00
2026-03-02 07:50:30 +00:00

pnkx_nav_core

Phần mềm quản lý việc di chuyển navigation

Description
Phần mềm quản lý việc di chuyển navigation
Readme 21 MiB
Languages
C++ 84%
CMake 7.9%
C 5.5%
Python 1.5%
MATLAB 0.9%
Other 0.2%