Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

RViz notification on "params modified"

Hello all,

I want to create a panel in RViz (part of a plugin) and this panel would contain widgets allowing me to create/modify ROS parameters.

Now, as is, my RViz panel will not be updated if the parameter gets modified outside of RViz - the parameter value displayed by RViz will be wrong. Hence my question: is there a ROS mechanism allowing to get notified on parameters value change? ...or another mechanism allowing to sync my panel?

Should I simply setup a 5Hz timer to update my panel? Or is there a better approach?