ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Maybe there is a chance that your while loop is finishing before any messages come in to trigger the callbacks?

A quick way to test this would to be put a 1 second sleep in the while loop to see if any of the callbacks get called.

(for what it's worth, it looks like a lot of what you have in your while loop should actually be in callbacks)