mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-26 16:28:06 +08:00
3.0 KiB
3.0 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
MessageFormatRequest (UORB message)
TOPICS: message_format_request
Fields
Constants
| 参数名 | 类型 | 值 | 描述 |
|---|---|---|---|
| LATEST_PROTOCOL_VERSION | uint16 |
1 | Current version of this protocol. Increase this whenever the MessageFormatRequest or MessageFormatResponse changes. |
Source Message
:::details Click here to see original file
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
:::