Ask Your Question

Revision history [back]

There is nothing like a message header that contains hidden meta-information in ROS. Modifying message members is save and is even necessary to fill messages before publishing them.

But do not const-cast and modify messages you received in message callbacks.