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

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.