Ask Your Question

Revision history [back]

Is spinOnce needed?

If I have ROS node that has an infinite loop that has other things running, do I need to use spin or spinOnce? The other items have specific timing such as 100 and 50 Hz but the subscriber I have does not need to but so specific. Can I call the subscriber some how?

Is spinOnce needed?

If I have ROS node that has an infinite loop that has other things running, do I need to use spin or spinOnce? The other items have specific timing such as 100 and 50 Hz but the subscriber I have does not need to but so specific. Can I call the subscriber some how? how in the loop?

Is spinOnce needed?

If I have ROS node that has an infinite loop that has other things running, do I need to use spin or spinOnce? The other items have specific timing such as 100 and 50 Hz but the subscriber I have does not need to but so specific. Can I call the subscriber some how in the loop?

Is spinOnce needed?

If I have ROS node that has an infinite loop that has other things running, do I need to use spin or spinOnce? The other items have specific timing such as 100 and 50 Hz but the subscriber I have does not need to but so specific. Can I call the subscriber some how in the loop?