mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 06:53:34 +08:00
New Crowdin translations - zh-CN (#26488)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
co-authored by
Crowdin Bot
parent
7ef57f6262
commit
47d5971f42
@@ -1,8 +1,33 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# LogMessage (UORB message)
|
||||
|
||||
A logging message, output with PX4_WARN, PX4_ERR, PX4_INFO
|
||||
A logging message, output with PX4_WARN, PX4_ERR, PX4_INFO.
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LogMessage.msg)
|
||||
**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
|
||||
|
||||
| 参数名 | 类型 | 值 | 描述 |
|
||||
| ------------------------------------------------------------------------------------------- | ------- | - | -- |
|
||||
| <a href="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 4 | |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LogMessage.msg)
|
||||
|
||||
:::details
|
||||
Click here to see original file
|
||||
|
||||
```c
|
||||
# A logging message, output with PX4_WARN, PX4_ERR, PX4_INFO
|
||||
@@ -13,5 +38,6 @@ uint8 severity # log level (same as in the linux kernel, starting with 0)
|
||||
char[127] text
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user