Skip to content

Commit

Permalink
changing resetStatus to public
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski committed Jun 7, 2023
1 parent dfa7abc commit 6fdc6ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/behaviortree_cpp_v3/tree_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ class TreeNode
// Notify the tree should be ticked again()
void emitStateChanged();

/// Equivalent to setStatus(NodeStatus::IDLE)
void resetStatus();

protected:
/// Method to be implemented by the user
virtual BT::NodeStatus tick() = 0;
Expand Down Expand Up @@ -222,9 +225,6 @@ class TreeNode
PostTickOverrideCallback post_condition_callback_;

std::shared_ptr<WakeUpSignal> wake_up_;

/// Equivalent to setStatus(NodeStatus::IDLE)
void resetStatus();
};

//-------------------------------------------------------
Expand Down

0 comments on commit 6fdc6ab

Please sign in to comment.