ROS2: how are msgs serialised (compared to ROS1)?
Hello,
I have two questions about the Connection Header:
- I have a ROS1 application where I rely on the Connection Header and I would like to know how is that handle in ROS2? I am only concerned about messages.
- Is it possible to "dump" the connection header (in ROS1 and/or ROS2) of a publisher for a given topic to a file?
Basically what I am trying to figure out if data is serialized the same way in ROS2 as it was in ROS1 to be transmitted. That means, starting 4 bytes with total length of the entire message and then each variable with its bytes and its length if it is a string or array.
Thanks for the help.