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

A BT::ConditionNode that returns SUCCESS when goal is updated on the blackboard and FAILURE otherwise. More...

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

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

Public Member Functions

 GloballyUpdatedGoalCondition (const std::string &condition_name, const BT::NodeConfiguration &conf)
 A constructor for nav2_behavior_tree::GloballyUpdatedGoalCondition. 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 goal is updated on the blackboard and FAILURE otherwise.

Definition at line 36 of file globally_updated_goal_condition.hpp.

Constructor & Destructor Documentation

◆ GloballyUpdatedGoalCondition()

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

A constructor for nav2_behavior_tree::GloballyUpdatedGoalCondition.

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

Definition at line 23 of file globally_updated_goal_condition.cpp.

Member Function Documentation

◆ providedPorts()

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

Creates list of BT ports.

Returns
BT::PortsList Containing node-specific ports

Definition at line 61 of file globally_updated_goal_condition.hpp.

◆ tick()

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

The main override required by a BT action.

Returns
BT::NodeStatus Status of tick execution

Definition at line 32 of file globally_updated_goal_condition.cpp.


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