PX4-Autopilot/msg/MessageFormatRequest.msg
Beat Küng 3d6456dc5f
uorb: add message format compatibility check
This can be used by DDS/ROS 2 to check for matching message definitions.
2023-11-08 10:21:28 +01:00

11 lines
499 B
Plaintext

uint64 timestamp # time since system start (microseconds)
# Request to PX4 to get the hash of a message, to check for message compatibility
uint16 LATEST_PROTOCOL_VERSION = 1 # Current version of this protocol. Increase this whenever the MessageFormatRequest or MessageFormatResponse changes.
uint16 protocol_version # Must be set to LATEST_PROTOCOL_VERSION. Do not change this field, it must be the first field after the timestamp
char[50] topic_name # E.g. /fmu/in/vehicle_command