mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-24 02:24:09 +08:00
1.8 KiB
1.8 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
Event (UORB message)
Events interface.
TOPICS: event
Fields
| Name | Type | Unit [Frame] | Range/Enum | Description |
|---|---|---|---|---|
| timestamp | uint64 |
time since system start (microseconds) | ||
| id | uint32 |
Event ID | ||
| event_sequence | uint16 |
Event sequence number | ||
| arguments | uint8[25] |
(optional) arguments, depend on event id | ||
| log_levels | uint8 |
Log levels: 4 bits MSB: internal, 4 bits LSB: external |
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| MESSAGE_VERSION | uint32 |
1 | |
| ORB_QUEUE_LENGTH | uint8 |
16 |
Source Message
::: details Click here to see original file
# Events interface
uint32 MESSAGE_VERSION = 1
uint64 timestamp # time since system start (microseconds)
uint32 id # Event ID
uint16 event_sequence # Event sequence number
uint8[25] arguments # (optional) arguments, depend on event id
uint8 log_levels # Log levels: 4 bits MSB: internal, 4 bits LSB: external
uint8 ORB_QUEUE_LENGTH = 16
:::