Files
PX4-Autopilot/docs/zh/msg_docs/ButtonEvent.md
2026-05-28 07:44:55 +10:00

1.5 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

Source file (GitHub)

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

:::