16#ifndef YASMIN_ROS__YASMIN_NODE_HPP
17#define YASMIN_ROS__YASMIN_NODE_HPP
23#include "rclcpp/rclcpp.hpp"
74 static std::shared_ptr<YasminNode> instance =
75 std::make_shared<YasminNode>();
81 rclcpp::executors::MultiThreadedExecutor
executor;
A ROS 2 node for managing and handling YASMIN-based applications.
Definition yasmin_node.hpp:38
static std::shared_ptr< YasminNode > get_instance()
Provides access to the singleton instance of YasminNode.
Definition yasmin_node.hpp:73
YasminNode()
Default constructor. Initializes the node with a unique name.
Definition yasmin_node.cpp:49
std::unique_ptr< std::thread > spin_thread
Thread for spinning the node.
Definition yasmin_node.hpp:83
YasminNode(YasminNode &other)=delete
Deleted copy constructor to prevent copying of the singleton instance.
~YasminNode()
Destructor. Cleans up resources.
Definition yasmin_node.hpp:64
rclcpp::executors::MultiThreadedExecutor executor
Executor for managing multiple threads.
Definition yasmin_node.hpp:81
void operator=(const YasminNode &)=delete
Deleted assignment operator to enforce singleton pattern.
Definition action_state.hpp:35