mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
39 lines
1.5 KiB
Markdown
39 lines
1.5 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# DebugArray (UORB message)
|
|
|
|
**TOPICS:** debug_array
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
|
| --------- | ------------- | ------------ | ---------- | ------------------------------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| id | `uint16` | | | unique ID of debug array, used to discriminate between arrays |
|
|
| name | `char[10]` | | | name of the debug array (max. 10 characters) |
|
|
| data | `float32[58]` | | | data |
|
|
|
|
## Constants
|
|
|
|
| Name | Type | Value | Description |
|
|
| ------------------------------------- | ------- | ----- | ----------- |
|
|
| <a href="#ARRAY_SIZE"></a> ARRAY_SIZE | `uint8` | 58 |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/DebugArray.msg)
|
|
|
|
::: details Click here to see original file
|
|
|
|
```c
|
|
uint8 ARRAY_SIZE = 58
|
|
uint64 timestamp # time since system start (microseconds)
|
|
uint16 id # unique ID of debug array, used to discriminate between arrays
|
|
char[10] name # name of the debug array (max. 10 characters)
|
|
float32[58] data # data
|
|
```
|
|
|
|
:::
|