Class SingleTrigger

Inheritance Relationships

Base Type

  • public BT::DecoratorNode

Class Documentation

class SingleTrigger : public BT::DecoratorNode

A BT::DecoratorNode that triggers its child only once and returns FAILURE for every succeeding tick.

Public Functions

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

A constructor for nav2_behavior_tree::SingleTrigger.

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