mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# TaskStackInfo (UORB message)
|
|
|
|
stack information for a single running process.
|
|
|
|
**TOPICS:** task_stack_info
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
|
| ---------- | ---------- | ------------ | ---------- | -------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| stack_free | `uint16` | | |
|
|
| task_name | `char[24]` | | |
|
|
|
|
## Constants
|
|
|
|
| Name | Type | Value | Description |
|
|
| ----------------------------------------------- | ------- | ----- | ----------- |
|
|
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 2 |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/TaskStackInfo.msg)
|
|
|
|
::: details Click here to see original file
|
|
|
|
```c
|
|
# stack information for a single running process
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint16 stack_free
|
|
char[24] task_name
|
|
|
|
uint8 ORB_QUEUE_LENGTH = 2
|
|
```
|
|
|
|
:::
|