Setting multiple parameters at once
Hello,
I'm looking for a way to change multiple parameters at once, currently when I register a callback via add_on_set_parameters_callback
,
when I use the command line call:
ros2 service call /your_node/set_parameters rcl_interfaces/srv/SetParameters "{parameters: [{name: "parameter_name", value: {type: 2, integer_value: 2}}, {name: "an_int_value", value: {type: 2, integer_value: 2}}]}"
the callback is called twice instead of once.
is there a way to set multiple parameters at once?
Best regards