Consider having a publisher publishing at a set rate and a subscriber that calls a callback on the published topic that stores all the data in an array. Is it possible that the publisher publishes mutliple messages before the subscriber callback is called? And if that is possible and happens: Is the callback called on each new message or just on the most recent message?
If that's important here: The publishing node is a rosbag, that I didn't create myself. The subscriber node constructs an object of a class that defines all the callbacks and then calls spin()
.
Originally posted by max11gen on ROS Answers with karma: 164 on 2019-01-21
Post score: 0