mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
39 lines
1.2 KiB
Markdown
39 lines
1.2 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# MavlinkLog (UORB message)
|
|
|
|
**TOPICS:** mavlink_log
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
|
| --------- | ----------- | ------------ | ---------- | -------------------------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| text | `char[127]` | | |
|
|
| severity | `uint8` | | | log level (same as in the linux kernel, starting with 0) |
|
|
|
|
## Constants
|
|
|
|
| Name | Type | Value | Description |
|
|
| ----------------------------------------------- | ------- | ----- | ----------- |
|
|
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 8 |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/MavlinkLog.msg)
|
|
|
|
::: details Click here to see original file
|
|
|
|
```c
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
char[127] text
|
|
uint8 severity # log level (same as in the linux kernel, starting with 0)
|
|
|
|
uint8 ORB_QUEUE_LENGTH = 8
|
|
```
|
|
|
|
:::
|