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

A BT::ConditionNode that returns SUCCESS when the IsPathValid service returns true and FAILURE otherwise. More...

#include <nav2_behavior_tree/include/nav2_behavior_tree/plugins/condition/is_path_valid_condition.hpp>

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

Public Member Functions

 IsPathValidCondition (const std::string &condition_name, const BT::NodeConfiguration &conf)
 A constructor for nav2_behavior_tree::IsPathValidCondition. 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 when the IsPathValid service returns true and FAILURE otherwise.

Definition at line 33 of file is_path_valid_condition.hpp.

Constructor & Destructor Documentation

◆ IsPathValidCondition()

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

A constructor for nav2_behavior_tree::IsPathValidCondition.

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

Definition at line 23 of file is_path_valid_condition.cpp.

Member Function Documentation

◆ providedPorts()

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

Creates list of BT ports.

Returns
BT::PortsList Containing node-specific ports

Definition at line 57 of file is_path_valid_condition.hpp.

◆ tick()

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

The main override required by a BT action.

Returns
BT::NodeStatus Status of tick execution

Definition at line 35 of file is_path_valid_condition.cpp.


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