Nav2 Navigation Stack - rolling
main
ROS 2 Navigation Stack
|
A BT::ConditionNode that returns SUCCESS every time a specified time period passes and FAILURE otherwise. More...
#include <nav2_behavior_tree/include/nav2_behavior_tree/plugins/condition/time_expired_condition.hpp>
Public Member Functions | |
TimeExpiredCondition (const std::string &condition_name, const BT::NodeConfiguration &conf) | |
A constructor for nav2_behavior_tree::TimeExpiredCondition. More... | |
BT::NodeStatus | tick () override |
The main override required by a BT action. More... | |
void | initialize () |
Function to read parameters and initialize class variables. | |
Static Public Member Functions | |
static BT::PortsList | providedPorts () |
Creates list of BT ports. More... | |
A BT::ConditionNode that returns SUCCESS every time a specified time period passes and FAILURE otherwise.
Definition at line 33 of file time_expired_condition.hpp.
nav2_behavior_tree::TimeExpiredCondition::TimeExpiredCondition | ( | const std::string & | condition_name, |
const BT::NodeConfiguration & | conf | ||
) |
A constructor for nav2_behavior_tree::TimeExpiredCondition.
condition_name | Name for the XML tag for this node |
conf | BT node configuration |
Definition at line 26 of file time_expired_condition.cpp.
|
inlinestatic |
Creates list of BT ports.
Definition at line 62 of file time_expired_condition.hpp.
|
override |
The main override required by a BT action.
Definition at line 41 of file time_expired_condition.cpp.
References initialize().