0
$\begingroup$

Rosanswers logo

If we have a publisher publishing at 40Hz, and the subscriber is calling SpinOnce at 20Hz, would our CallBack Queue be filled up eventually?


Originally posted by Dumpsomer on ROS Answers with karma: 27 on 2012-10-22

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Depends on how long your callbacks run. But spinOnce does not just execute only one callback but it will empty the queue if possible and then return.


Originally posted by Lorenz with karma: 22731 on 2012-10-22

This answer was ACCEPTED on the original site

Post score: 4

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.