PX4-Autopilot/docs/zh/msg_docs/TaskStackInfo.md
PX4 Build Bot 62d0620eff
New Crowdin translations - zh-CN (#26553)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-03-05 14:00:49 +11:00

44 lines
1.6 KiB
Markdown

---
pageClass: is-wide-page
---
# TaskStackInfo (UORB message)
stack information for a single running process.
**TOPICS:** task_stack_info
## Fields
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
| ------------------------------- | ---------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------- |
| timestamp | `uint64` | | | time since system start (microseconds) |
| stack_free | `uint16` | | | |
| task_name | `char[24]` | | | |
## Constants
| 参数名 | 类型 | 值 | 描述 |
| ----------------------------------------------------------------------------------------- | ------- | - | -- |
| <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
```
:::