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

If you're only using the data in a single node, the most common way to do this would be to make your node a class, then have the subscriber to the slow data update a class variable. Then your fast subscribers would just access the class variable.

ROS does have network wide variables like the parameter server and dynamic reconfigure, but since it sounds like what you're doing is within a single node, I think the class variable is the way to go.