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
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
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