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

There is no threading issues going on in your code as you don't create a thread.

However, your correlate function is called only once and before you received and data, so it's not processing anything. I'm not sure, what "skips some data and leaves some parts of it" is supposed to mean, but this program essentially should do nothing.

You need to call you processing function from somewhere, e.g., the callback.

There is no threading issues going on in your code as you don't create a thread.

However, your correlate function is called only once and before you received and any data, so it's not processing anything. I'm not sure, what "skips some data and leaves some parts of it" is supposed to mean, but this program essentially should do nothing.

You need to call you processing function from somewhere, e.g., the callback.