[ROS2 eloquent] Print ParameterValue as string
I'm working with ROS2 parameters and looked at this example (https://github.com/ros2/demos/blob/ma...). Next to the new_parameter.name
I would also like to print new_parameter.value
as a string. As ParameterValue
can represent different data types (https://github.com/ros2/rcl_interface...) this doesn't seem to be so straight forward. I'm wondering if there is any helper function to get the value as a string?