Nav2 Navigation Stack - rolling  main
ROS 2 Navigation Stack
Public Member Functions | Static Public Member Functions | List of all members
nav2_behavior_tree::PathExpiringTimerCondition Class Reference

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/path_expiring_timer_condition.hpp>

Inheritance diagram for nav2_behavior_tree::PathExpiringTimerCondition:
Inheritance graph
[legend]
Collaboration diagram for nav2_behavior_tree::PathExpiringTimerCondition:
Collaboration graph
[legend]

Public Member Functions

 PathExpiringTimerCondition (const std::string &condition_name, const BT::NodeConfiguration &conf)
 A constructor for nav2_behavior_tree::PathExpiringTimerCondition. More...
 
BT::NodeStatus tick () override
 The main override required by a BT action. More...
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 Creates list of BT ports. More...
 

Detailed Description

A BT::ConditionNode that returns SUCCESS every time a specified time period passes and FAILURE otherwise.

Definition at line 34 of file path_expiring_timer_condition.hpp.

Constructor & Destructor Documentation

◆ PathExpiringTimerCondition()

nav2_behavior_tree::PathExpiringTimerCondition::PathExpiringTimerCondition ( const std::string &  condition_name,
const BT::NodeConfiguration &  conf 
)

A constructor for nav2_behavior_tree::PathExpiringTimerCondition.

Parameters
condition_nameName for the XML tag for this node
confBT node configuration

Definition at line 25 of file path_expiring_timer_condition.cpp.

Member Function Documentation

◆ providedPorts()

static BT::PortsList nav2_behavior_tree::PathExpiringTimerCondition::providedPorts ( )
inlinestatic

Creates list of BT ports.

Returns
BT::PortsList Containing node-specific ports

Definition at line 58 of file path_expiring_timer_condition.hpp.

◆ tick()

BT::NodeStatus nav2_behavior_tree::PathExpiringTimerCondition::tick ( )
override

The main override required by a BT action.

Returns
BT::NodeStatus Status of tick execution

Definition at line 35 of file path_expiring_timer_condition.cpp.


The documentation for this class was generated from the following files: