mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
22 lines
524 B
Markdown
22 lines
524 B
Markdown
# Event (UORB message)
|
|
|
|
Events interface
|
|
|
|
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/versioned/Event.msg)
|
|
|
|
```c
|
|
# 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
|
|
|
|
```
|