Nav2 Navigation Stack - jazzy  jazzy
ROS 2 Navigation Stack
Public Member Functions | Static Public Member Functions | List of all members
nav2_behavior_tree::RecoveryNode Class Reference

The RecoveryNode has only two children and returns SUCCESS if and only if the first child returns SUCCESS. More...

#include <nav2_behavior_tree/include/nav2_behavior_tree/plugins/control/recovery_node.hpp>

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

Public Member Functions

 RecoveryNode (const std::string &name, const BT::NodeConfiguration &conf)
 A constructor for nav2_behavior_tree::RecoveryNode. More...
 
 ~RecoveryNode () override=default
 A destructor for nav2_behavior_tree::RecoveryNode.
 

Static Public Member Functions

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

Detailed Description

The RecoveryNode has only two children and returns SUCCESS if and only if the first child returns SUCCESS.

Definition at line 35 of file recovery_node.hpp.

Constructor & Destructor Documentation

◆ RecoveryNode()

nav2_behavior_tree::RecoveryNode::RecoveryNode ( const std::string &  name,
const BT::NodeConfiguration &  conf 
)

A constructor for nav2_behavior_tree::RecoveryNode.

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

Definition at line 21 of file recovery_node.cpp.

Member Function Documentation

◆ providedPorts()

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

Creates list of BT ports.

Returns
BT::PortsList Containing basic ports along with node-specific ports

Definition at line 56 of file recovery_node.hpp.


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