mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
- .msg files are PascalCase - topics are still either per msg or explicitly listed in TOPICS - compatible structs are still generated (eg struct msg_s), but ROS2 style px4::msg::Msg is also available
11 lines
524 B
Plaintext
11 lines
524 B
Plaintext
# power button state notification message
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint8 PWR_BUTTON_STATE_IDEL = 0 # Button went up without meeting shutdown button down time (delete event)
|
|
uint8 PWR_BUTTON_STATE_DOWN = 1 # Button went Down
|
|
uint8 PWR_BUTTON_STATE_UP = 2 # Button went Up
|
|
uint8 PWR_BUTTON_STATE_REQUEST_SHUTDOWN = 3 # Button went Up after meeting shutdown button down time
|
|
|
|
uint8 event # one of PWR_BUTTON_STATE_*
|