Skip to content

Commit

Permalink
Update tree_node.h
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMacenski authored Jun 8, 2023
1 parent 6fdc6ab commit 533aaa0
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,9 +182,6 @@ 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 All @@ -203,6 +200,9 @@ class TreeNode

void setStatus(NodeStatus new_status);

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

private:
const std::string name_;

Expand Down

0 comments on commit 533aaa0

Please sign in to comment.