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

A BT::DecoratorNode that ticks its child if the goal was updated. More...

#include <nav2_behavior_tree/include/nav2_behavior_tree/plugins/decorator/goal_updated_controller.hpp>

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

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

A BT::DecoratorNode that ticks its child if the goal was updated.

Definition at line 34 of file goal_updated_controller.hpp.

Constructor & Destructor Documentation

◆ GoalUpdatedController()

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

A constructor for nav2_behavior_tree::GoalUpdatedController.

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

Definition at line 26 of file goal_updated_controller.cpp.

Member Function Documentation

◆ providedPorts()

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

Creates list of BT ports.

Returns
BT::PortsList Containing node-specific ports

Definition at line 50 of file goal_updated_controller.hpp.


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