Skip to content

MessageFormatRequest (UORB message)

TOPICS: message_formatrequest

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64time since system start (microseconds)
protocol_versionuint16Must be set to LATEST_PROTOCOL_VERSION. Do not change this field, it must be the first field after the timestamp
topic_namechar[50]E.g. /fmu/in/vehicle_command

Constants

NameTypeValueDescription
LATEST_PROTOCOL_VERSIONuint161Current version of this protocol. Increase this whenever the MessageFormatRequest or MessageFormatResponse changes.

Source Message

Source file (GitHub)

Click here to see original file
c
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