Class WaitAction

Inheritance Relationships

Base Type

  • public BT::ActionNodeBase

Class Documentation

class WaitAction : public BT::ActionNodeBase

BehaviorTree node that waits for a specified action to complete.

Public Functions

WaitAction(const std::string &xml_tag_name, const BT::NodeConfig &conf)

Constructor for the WaitAction node.

Parameters:
  • xml_tag_name[in] Name of the XML tag for this node in the BT definition.

  • conf[in] Node configuration including the blackboard.

inline void halt()

Halt method (required by the BT framework).

BT::NodeStatus tick() override

Main execution method for the BT node.

Returns:

BT::NodeStatus Status of tick execution

Public Static Functions

static inline BT::PortsList providedPorts()

Creates list of BT ports.

Returns:

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