ros2
runtime_error
ai_generated
partial
[nav2_bt_navigator] Action server failed: NavigateToPose
ID: ros2/nav2-bt-action-failed
68%Fix Rate
82%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 2 | active | — | — | — |
Root Cause
Nav2 behavior tree action fails. Root cause varies: costmap not ready, planner timeout, controller stuck.
genericWorkarounds
-
90% success Check Nav2 logs for the specific BT node that failed
ros2 topic echo /behavior_tree_log
-
85% success Verify costmap is populated (not empty) before navigation
ros2 topic echo /local_costmap/costmap --once
-
82% success Test individual Nav2 components (planner, controller) separately
ros2 action send_goal /compute_path_to_pose nav2_msgs/action/ComputePathToPose ...
Dead Ends
Common approaches that don't work:
-
Restart Nav2 stack on every failure
78% fail
Restarts are expensive and lose all accumulated costmap data; hides the actual navigation issue
-
Increase all timeouts to very large values
80% fail
Masks configuration errors; robot sits idle for minutes before finally reporting failure
-
Replace the entire BT XML with a simple sequence
85% fail
Loses recovery behaviors, replanning, and fallback strategies
Error Chain
Preceded by: