ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Have you seen message filters? http://wiki.ros.org/message_filters
You can attach a callback to run when two messages are received.
Alternatively you can store a state variable that is set by one callback and checked and cleared by a second (with an optional timeout).