Class LightsManagerNode

Inheritance Relationships

Base Type

  • public rclcpp::Node

Class Documentation

class LightsManagerNode : public rclcpp::Node

This class is responsible for creating a BehaviorTree responsible for lights management, spinning it, and updating blackboard entries based on subscribed topics.

Public Functions

LightsManagerNode(const std::string &node_name, const rclcpp::NodeOptions &options = rclcpp::NodeOptions())
inline ~LightsManagerNode()
void Initialize()

Protected Functions

void DeclareParameters()
void RegisterBehaviorTree()
std::map<std::string, std::any> CreateLightsInitialBlackboard()
bool SystemReady()

Checks whether the required blackboard entries for the lights tree are present. These entries are usually updated when the first ROS message containing required information is received.

Returns:

True if all required blackboard entries are present.

Protected Attributes

std::unique_ptr<BehaviorTreeManager> lights_tree_manager_