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

A BT::DecoratorNode that ticks its child at a specified rate. More...

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

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

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

A BT::DecoratorNode that ticks its child at a specified rate.

Definition at line 29 of file rate_controller.hpp.

Constructor & Destructor Documentation

◆ RateController()

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

A constructor for nav2_behavior_tree::RateController.

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

Definition at line 23 of file rate_controller.cpp.

Member Function Documentation

◆ providedPorts()

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

Creates list of BT ports.

Returns
BT::PortsList Containing node-specific ports

Definition at line 45 of file rate_controller.hpp.


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