ros 2 parameter design
HI,
How will a ros 2 node using parameters, be notified regarding any change in its parameters values ?
Will it be through using the register_param_change_callback(callback T)
funtion ? Is there any demo examples using this ?
Thank you for your help.
Asked by Skyking on 2018-05-28 06:54:47 UTC
Answers
There's a similar API on the parameter clients method 'on_parameter_event' that I'd recommend looking at for subscribing to parameter events.
You can see an example of using it in conjunction with the ParameterEventsFilter
helper class in the TimeSource
implementation
The register_param_change_callback
should also work directly on the node object.
Asked by tfoote on 2018-05-29 01:56:19 UTC
Comments