mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-25 11:13:19 +08:00
1.7 KiB
1.7 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
LogMessage (UORB message)
A logging message, output with PX4_WARN, PX4_ERR, PX4_INFO.
TOPICS: log_message
Fields
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|---|---|---|---|---|
| timestamp | uint64 |
time since system start (microseconds) | ||
| severity | uint8 |
log level (same as in the linux kernel, starting with 0) | ||
| text | char[127] |
Constants
| 参数名 | 类型 | 值 | 描述 |
|---|---|---|---|
| ORB_QUEUE_LENGTH | uint8 |
4 |
Source Message
:::details Click here to see original file
# A logging message, output with PX4_WARN, PX4_ERR, PX4_INFO
uint64 timestamp # time since system start (microseconds)
uint8 severity # log level (same as in the linux kernel, starting with 0)
char[127] text
uint8 ORB_QUEUE_LENGTH = 4
:::