Files
PX4-Autopilot/docs/en/msg_docs/ButtonEvent.md
T
2026-05-27 02:57:43 +00:00

1.2 KiB

pageClass
pageClass
is-wide-page

ButtonEvent (UORB message)

TOPICS: button_event safety_button

Fields

Name Type Unit [Frame] Range/Enum Description
timestamp uint64 time since system start (microseconds)
triggered bool Set to true if the event is triggered

Constants

Name Type Value Description
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

:::