Skip to content

Commit

Permalink
handle SKIPPED state
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Faconti <davide.faconti@gmail.com>
  • Loading branch information
facontidavide committed Feb 27, 2024
1 parent 7f91caa commit 5942a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_behavior_tree/plugins/control/recovery_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ BT::NodeStatus RecoveryNode::tick()
case BT::NodeStatus::SKIPPED:
// If first child is skipped, the entire branch is considered skipped
halt();
return BT::NodeStatus::SKIPPED
return BT::NodeStatus::SKIPPED;

case BT::NodeStatus::SUCCESS:
// reset node and return success when first child returns success
Expand Down

0 comments on commit 5942a6f

Please sign in to comment.