Is it possible to reuse ROS messages?
After calling publish
, can I reuse the same message object to send a similar message with some small changes? Basically I'm asking if the message is already serialized by the time the publish
function returns. If it's not serialized right away, then there is a chance that I could overwrite some values from the previous message, and so it would not be possible to reuse it.