Files
pnkx_nav_core/config/runtime
duongtd 9095e58dec feat: bring the move_base2 cancel/pause/resume lifecycle fix onto new-1.0
Bumps 7 submodule pointers to the same fix already on T800_ws (branch
dev_recovery_and_manager_mission there, this repo is on new-1.0 — the two
branches share no common history, so this is a submodule pull + a manual
reapply of two new headers, not a merge or cherry-pick):

  sbpl                 ca1ba36 -> bd89924  (SBPLPlanner abort flag)
  sbpl_lattice_planner 9c1667e -> 7456e99  (Preemptable + shared search budget)
  recovery_core        c03d16f -> 254c7fc  (onCancelRequested + ABI guard)
  sbpl_recovery        8f9326b -> ea79686  (detour search on a worker thread)
  action_core          a6bc3df -> 669c3f7  (pause/resume + kCancelled + ABI guard)
  dock_pattern_action  302dd11 -> cc1ea74  (pause/resume)
  move_base2           7d00c5a -> 8bc4895  (the lifecycle contract itself)

pnkx_nav_core's own two new in-tree headers (robot_nav_core::Preemptable,
move_base_core::component_status_probe.h) are added here by hand, same
content as T800_ws commit 2b0993b — required for sbpl_lattice_planner and
move_base2 (now pulled above) to even compile; not a cherry-pick since
new-1.0 and dev_recovery_and_manager_mission have no common ancestor.

config/runtime/move_base_common_params.yaml: added the new keys only, every
existing value (planner_patience 2.0, max_planning_retries 0, twist
semantics, recovery_behavior_enabled false, ...) is untouched.
settle_timeout: 2.0 and the two stopped_measured_*_eps keys are on, same as
the dev tree — this is the correctness fix itself (cancel/pause now wait
for real quiescence instead of reporting done while a component is still
unwinding), and it changes report timing only, not any commanded velocity.
The watchdog block is added but left OFF (watchdog_period: 0.0, dev tree
has 0.1) — allocated_time: 10.0 in this tree's own sbpl_global_params.yaml
means a legitimate long search could trip a naive planner_timeout as a
false "hung"; leaving a brand-new diagnostic capability off until it's
calibrated against real search/recovery/action timing on this robot matches
the policy for new features in this config tree.

Not brought over (flagged for a separate decision, see chat):
nav_c_api_2.h/.cpp changes from T800_ws commit 2b0993b — this repo has no
config/move_base_common_params.yaml at the top level (only config/runtime/),
so it may not run the standalone c_api tree at all; and the two branches'
disjoint history makes a blind reapply of an EXISTING file's diff riskier
than the two brand-new headers above. Needs a decision, not a mechanical
pull.

Not pushed to origin/new-1.0 — local commit only, pending confirmation.
2026-09-12 22:20:57 +07:00
..