Class Node

Inheritance Relationships

Derived Type

Class Documentation

class Node

Node helper class, holds a pointer towards the driver rclcpp::Node.

Subclassed by naoqi::helpers::Time

Public Static Functions

static inline void setNode(const boost::shared_ptr<rclcpp::Node> &node_ptr)

Set the Node object.

Parameters:

node_ptr_

static inline rclcpp::Logger get_logger()

Get the logger object for the driver node.

Returns:

rclcpp::Logger

static inline size_t count_subscribers(const std::string &topic_name)

Get the number of subscribers for a publisher on a specific topic.

Returns:

int

Protected Static Attributes

static boost::shared_ptr<rclcpp::Node> node_ptr_