mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 11:23:06 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -23,12 +23,13 @@ Request to register an external component.
|
||||
| replace_internal_mode | `uint8` | | | vehicle*status::NAVIGATION_STATE*\* |
|
||||
| activate_mode_immediately | `bool` | | | switch to the registered mode (can only be set in combination with an executor) |
|
||||
| not_user_selectable | `bool` | | | mode cannot be selected by the user |
|
||||
| request_offboard_setpoints | `bool` | | | set to true if the registered mode wants to receive offboard trajectory setpoints via MAVLink |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| --------------------------------------------------------------------- | -------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 1 |
|
||||
| <a id="#MESSAGE_VERSION"></a> MESSAGE_VERSION | `uint32` | 2 |
|
||||
| <a id="#LATEST_PX4_ROS2_API_VERSION"></a> LATEST_PX4_ROS2_API_VERSION | `uint16` | 1 | API version compatibility. Increase this on a breaking semantic change. Changes to any message field are detected separately and do not require an API version change. |
|
||||
| <a id="#ORB_QUEUE_LENGTH"></a> ORB_QUEUE_LENGTH | `uint8` | 2 |
|
||||
|
||||
@@ -41,7 +42,7 @@ Request to register an external component.
|
||||
```c
|
||||
# Request to register an external component
|
||||
|
||||
uint32 MESSAGE_VERSION = 1
|
||||
uint32 MESSAGE_VERSION = 2
|
||||
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
@@ -61,6 +62,7 @@ bool enable_replace_internal_mode # set to true if an internal mode should be r
|
||||
uint8 replace_internal_mode # vehicle_status::NAVIGATION_STATE_*
|
||||
bool activate_mode_immediately # switch to the registered mode (can only be set in combination with an executor)
|
||||
bool not_user_selectable # mode cannot be selected by the user
|
||||
bool request_offboard_setpoints # set to true if the registered mode wants to receive offboard trajectory setpoints via MAVLink
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 2
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user