ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2011-05-05 15:40:20 -0500

joq gravatar image

You could periodically call getParamCached(). It caches the value locally and subscribes to the parameter server for notification in the event of updates. So, the polling overhead is minimal.

Or, use dynamic_reconfigure. Even though it's marked unstable, the basic interfaces are widely used and will probably be preserved in future distributions.