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
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