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

A nav2_behavior_tree::ActionNodeBase class that checks if the robot has been stopped for a specified duration. More...

#include <nav2_behavior_tree/include/nav2_behavior_tree/plugins/action/check_stop_status_action.hpp>

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

Public Member Functions

 CheckStopStatus (const std::string &xml_tag_name, const BT::NodeConfiguration &conf)
 A constructor for nav2_behavior_tree::CheckStopStatus. More...
 

Static Public Member Functions

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

Detailed Description

A nav2_behavior_tree::ActionNodeBase class that checks if the robot has been stopped for a specified duration.

Usage in XML:

<CheckStopStatus velocity_threshold="0.01" duration_stopped="1000"/>
CheckStopStatus(const std::string &xml_tag_name, const BT::NodeConfiguration &conf)
A constructor for nav2_behavior_tree::CheckStopStatus.

Definition at line 42 of file check_stop_status_action.hpp.

Constructor & Destructor Documentation

◆ CheckStopStatus()

nav2_behavior_tree::CheckStopStatus::CheckStopStatus ( const std::string &  xml_tag_name,
const BT::NodeConfiguration &  conf 
)

A constructor for nav2_behavior_tree::CheckStopStatus.

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

Definition at line 26 of file check_stop_status_action.cpp.

Member Function Documentation

◆ providedPorts()

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

Creates list of BT ports.

Returns
BT::PortsList Containing node-specific ports

Definition at line 58 of file check_stop_status_action.hpp.


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