I'd like to publish dynamic parameters (from dynamic_reconfigure) to a topic from a C++ node when they change. In Python, I just convert the dynamic parameters object to a string and publish it in the dynamic parameters callback. What's the best way to do something similar in C++?
↧