ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.