Class ParameterService

Class Documentation

class ParameterService

Manage ROS 2 parameter service endpoints for agnocast::Node.

Public Types

using SharedPtr = std::shared_ptr<ParameterService>
using WeakPtr = std::weak_ptr<ParameterService>
using UniquePtr = std::unique_ptr<ParameterService>

Public Functions

AGNOCAST_PUBLIC ParameterService(agnocast::Node *node, agnocast::node_interfaces::NodeParameters *node_params, const rclcpp::QoS &qos_profile = rclcpp::ParametersQoS())

Construct a ParameterService, registering all parameter management services.

Parameters:
  • node – The node’s pointer

  • node_params – The node’s parameters interface

  • qos_profile – The QoS profile for all parameter services. Defaults to rclcpp::QoS().