Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's not a good idea to run while() in callback. You have to leave callback function since it blocks ros internal event loop (the loop which handles new data and calls your callbacks). That is why you will not get update.