Files
PX4-Autopilot/docs/uk/msg_docs/ButtonEvent.md
2026-05-28 07:36:47 +10:00

39 lines
1.5 KiB
Markdown

---
pageClass: is-wide-page
---
# ButtonEvent (повідомлення UORB)
**TOPICS:** button_event safety_button
## Fields
| Назва | Тип | Unit [Frame] | Range/Enum | Опис |
| ----------------------------------- | -------- | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------- |
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
| <a id="fld_triggered"></a>triggered | `bool` | | | Set to true if the event is triggered |
## 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/ButtonEvent.msg)
:::details
Click here to see original file
```c
uint64 timestamp # time since system start (microseconds)
bool triggered # Set to true if the event is triggered
# TOPICS button_event safety_button
uint8 ORB_QUEUE_LENGTH = 2
```
:::