Public Member Functions | |
FollowPath (const std::string &name) | |
void | halt () override |
NodeStatus | tick () override |
Method to be implemented by the user. | |
bool | wasHalted () const |
Private Attributes | |
bool | _halted |
Definition at line 110 of file navigation_test.cpp.
FollowPath::FollowPath | ( | const std::string & | name | ) | [inline] |
Definition at line 113 of file navigation_test.cpp.
void FollowPath::halt | ( | ) | [inline, override, virtual] |
You may want to override this method. But still, call remember to call this implementation too.
Example:
void MyAction::halt() { // do your stuff here CoroActionNode::halt(); }
Reimplemented from BT::CoroActionNode.
Definition at line 129 of file navigation_test.cpp.
NodeStatus FollowPath::tick | ( | ) | [inline, override, virtual] |
Method to be implemented by the user.
Implements BT::TreeNode.
Definition at line 115 of file navigation_test.cpp.
bool FollowPath::wasHalted | ( | ) | const [inline] |
Definition at line 135 of file navigation_test.cpp.
bool FollowPath::_halted [private] |
Definition at line 138 of file navigation_test.cpp.