Class Goal

Inheritance Relationships

Base Type

  • public plansys2_msgs::msg::Tree

Class Documentation

class Goal : public plansys2_msgs::msg::Tree

Represents a goal in the planning domain.

Inherits from plansys2_msgs::msg::Tree and provides constructors for easy creation from strings or existing Tree messages.

Public Functions

inline Goal()

Default constructor.

inline explicit Goal(const std::string &goal)

Construct a Goal from a string representation.

Parameters:

goal[in] The goal as a string.

inline Goal(const plansys2_msgs::msg::Tree &goal)

Construct a Goal from an existing Tree message.

Parameters:

goal[in] The Tree message.