ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Can you clarify what it is you're trying to do and why? Typical pattern would be to subscribe to the two topics independently, cache one them using a shared_ptr, and do your processing for both in the second one's callback.