ros drivers - publish most recent messages or old ones?
While writing a ros driver, suppose the driver isn't able to publish data at the same rate as recieved from the hardware. As a result the data is being appended to the driver's internal buffer. So in the next cycle of execution, are we supposed to publish the most recent message or the oldest in our buffer? Is circular buffers the way to go here?