mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 11:00:34 +08:00
a2299b02c8
Some modes should only be run within the context of a mode executor and the user should not be able to select them in the GCS. With this change, the external component registration request can be used to set if a mode is selectable or not.
18 lines
527 B
Plaintext
18 lines
527 B
Plaintext
uint32 MESSAGE_VERSION = 1
|
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
uint64 request_id # ID from the request
|
|
char[25] name # name from the request
|
|
|
|
uint16 px4_ros2_api_version
|
|
|
|
bool success
|
|
int8 arming_check_id # arming check registration ID (-1 if invalid)
|
|
int8 mode_id # assigned mode ID (-1 if invalid)
|
|
int8 mode_executor_id # assigned mode executor ID (-1 if invalid)
|
|
|
|
bool not_user_selectable # mode cannot be selected by the user
|
|
|
|
uint8 ORB_QUEUE_LENGTH = 2
|