mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
1.4 KiB
1.4 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
ButtonEvent (UORB message)
TOPICS: button_event safety_button
Fields
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|---|---|---|---|---|
| timestamp | uint64 |
time since system start (microseconds) | ||
| triggered | bool |
Set to true if the event is triggered |
Constants
| 参数名 | 类型 | 值 | 描述 |
|---|---|---|---|
| ORB_QUEUE_LENGTH | uint8 |
2 |
Source Message
:::details Click here to see original file
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
:::