ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I would go with having a subscriber constantly updating a variable through a callback. You may see that as wasteful, but that is basically how ROS works. When you need them, you can make a copy of the the updatable vars, so they won't change on the fly.