ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
As I'm answering from a phone... I'll give you this to get started. I would suggest implementing a class. Run two subscribers and update each portion of the class with the two callback functions.
Then run your analysis afterwards.
Take a look at classes here:
http://book.pythontips.com/en/latest/classes.html
Then create two separate functions that update a part of the class object, call them with your two subscribers.