Class PipelineSequence

Inheritance Relationships

Base Type

  • public BT::ControlNode

Class Documentation

class PipelineSequence : public BT::ControlNode

Type of sequence node that re-ticks previous children when a child returns running.

Public Functions

explicit PipelineSequence(const std::string &name)

A constructor for nav2_behavior_tree::PipelineSequence.

Parameters:

name – Name for the XML tag for this node

PipelineSequence(const std::string &name, const BT::NodeConfiguration &config)

A constructor for nav2_behavior_tree::PipelineSequence.

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

  • config – BT node configuration

void halt() override

The other (optional) override required by a BT action to reset node state.

Public Static Functions

static inline BT::PortsList providedPorts()

Creates list of BT ports.

Returns:

BT::PortsList Containing basic ports along with node-specific ports

Protected Functions

BT::NodeStatus tick() override

The main override required by a BT action.

Returns:

BT::NodeStatus Status of tick execution

Protected Attributes

std::size_t last_child_ticked_ = 0