Closed bmegli closed 1 year ago
Now, if we intended only to make parameters transport scoped the fix is trivial 3 liner.
The difficulty lies in having both types support, ensuring values are synced on init and emitting deprecation warnings.
There is alternative way to implement through add_on_set_parameters_callback
but:
~The ParameterEvent
handler way may be also used to reimplement ROS1 dynamic reconfigure behavior in ROS2~
Edit - stroked through, a much simpler way for runtime reconfiguration was implemented in rolling
And finally, I am not entirely happy with templated function to set parameters in a header.
I now see a way to avoid it with:
@bmegli I see this PR is targetting the foxy-devel branch. Could you retarget it to the rolling branch?
Re-targeted to rolling in #143
Closing this one
Aim
Reason
Details in #140
Scope
CompressedPublisher
If agreed on implementation I may rework the rest within this pull.
Short Description
<image>.<transport>.<param>
as future replacement of<image>.<param>
Example
Implementation