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