3#include <rclcpp/parameter.hpp>
4#include <state_representation/parameters/Parameter.hpp>
24 const std::shared_ptr<const state_representation::ParameterInterface>& source_parameter,
25 const std::shared_ptr<state_representation::ParameterInterface>& parameter);
33rclcpp::Parameter
write_parameter(
const std::shared_ptr<state_representation::ParameterInterface>& parameter);
41std::shared_ptr<state_representation::ParameterInterface>
read_parameter(
const rclcpp::Parameter& ros_parameter);
52 const rclcpp::Parameter& ros_parameter,
53 const std::shared_ptr<const state_representation::ParameterInterface>& parameter);
63 const rclcpp::Parameter& ros_parameter,
const std::shared_ptr<state_representation::ParameterInterface>& parameter);
Modulo Core translation module for converting between ROS2 and state_representation data types.
std::shared_ptr< state_representation::ParameterInterface > read_parameter(const rclcpp::Parameter &ros_parameter)
Create a new ParameterInterface from a ROS Parameter object.
rclcpp::Parameter write_parameter(const std::shared_ptr< state_representation::ParameterInterface > ¶meter)
Write a ROS Parameter from a ParameterInterface pointer.
rclcpp::ParameterType get_ros_parameter_type(const state_representation::ParameterType ¶meter_type)
Given a state representation parameter type, get the corresponding ROS parameter type.
void copy_parameter_value(const std::shared_ptr< const state_representation::ParameterInterface > &source_parameter, const std::shared_ptr< state_representation::ParameterInterface > ¶meter)
Copy the value of one parameter interface into another.
std::shared_ptr< state_representation::ParameterInterface > read_parameter_const(const rclcpp::Parameter &ros_parameter, const std::shared_ptr< const state_representation::ParameterInterface > ¶meter)
Update the parameter value of a ParameterInterface from a ROS Parameter object only if the two parame...