Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nav2_behavior_tree/plugins/control/recovery_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ BT::NodeStatus RecoveryNode::tick()

case BT::NodeStatus::SUCCESS:
// reset node and return success when first child returns success
// also halt the recovery action as the main action is successful, reset its state
ControlNode::haltChild(1);
halt();
return BT::NodeStatus::SUCCESS;

Expand Down
Loading