Class DistanceController

Inheritance Relationships

Base Type

  • public BT::DecoratorNode

Class Documentation

class DistanceController : public BT::DecoratorNode

A BT::DecoratorNode that ticks its child every time the robot travels a specified distance.

Public Functions

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

A constructor for nav2_behavior_tree::DistanceController.

Parameters:
  • name – Name for the XML tag for this node

  • conf – BT node configuration

Public Static Functions

static inline BT::PortsList providedPorts()

Creates list of BT ports.

Returns:

BT::PortsList Containing node-specific ports