mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
45 lines
3.0 KiB
Markdown
45 lines
3.0 KiB
Markdown
---
|
|
pageClass: is-wide-page
|
|
---
|
|
|
|
# HealthReport (повідомлення UORB)
|
|
|
|
**TOPICS:** health_report
|
|
|
|
## Fields
|
|
|
|
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
|
|
| ----------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | -------------------------------------------------------------------------------------------- |
|
|
| timestamp | `uint64` | | | time since system start (microseconds) |
|
|
| can_arm_mode_flags | `uint64` | | | bitfield for each flight mode (NAVIGATION_STATE_\*) if arming is possible |
|
|
| can_run_mode_flags | `uint64` | | | bitfield for each flight mode if it can run |
|
|
| health_is_present_flags | `uint64` | | | flags for each health_component_t |
|
|
| health_warning_flags | `uint64` | | | |
|
|
| health_error_flags | `uint64` | | | |
|
|
| arming_check_warning_flags | `uint64` | | | |
|
|
| arming_check_error_flags | `uint64` | | | |
|
|
|
|
## Source Message
|
|
|
|
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/HealthReport.msg)
|
|
|
|
:::details
|
|
Click here to see original file
|
|
|
|
```c
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint64 can_arm_mode_flags # bitfield for each flight mode (NAVIGATION_STATE_*) if arming is possible
|
|
uint64 can_run_mode_flags # bitfield for each flight mode if it can run
|
|
|
|
uint64 health_is_present_flags # flags for each health_component_t
|
|
uint64 health_warning_flags
|
|
uint64 health_error_flags
|
|
# A component is required but missing, if present==0 and error==1
|
|
|
|
uint64 arming_check_warning_flags
|
|
uint64 arming_check_error_flags
|
|
```
|
|
|
|
:::
|