mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 12:33:34 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,33 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# LaunchDetectionStatus (UORB message)
|
||||
|
||||
Status of the launch detection state machine (fixed-wing only)
|
||||
Status of the launch detection state machine (fixed-wing only).
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LaunchDetectionStatus.msg)
|
||||
**TOPICS:** launch_detectionstatus
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| ---------------------- | -------- | ------------ | ---------- | -------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| launch_detection_state | `uint8` | | |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| ----------------------------------------------------------------------------------------- | ------- | ----- | ------------------------------------------------------------------------------------------------- |
|
||||
| <a href="#STATE_WAITING_FOR_LAUNCH"></a> STATE_WAITING_FOR_LAUNCH | `uint8` | 0 | waiting for launch |
|
||||
| <a href="#STATE_LAUNCH_DETECTED_DISABLED_MOTOR"></a> STATE_LAUNCH_DETECTED_DISABLED_MOTOR | `uint8` | 1 | launch detected, but keep motor(s) disabled (e.g. because it can't spin freely while on catapult) |
|
||||
| <a href="#STATE_FLYING"></a> STATE_FLYING | `uint8` | 2 | launch detected, use normal takeoff/flying configuration |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LaunchDetectionStatus.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
# Status of the launch detection state machine (fixed-wing only)
|
||||
@@ -14,5 +39,6 @@ uint8 STATE_LAUNCH_DETECTED_DISABLED_MOTOR = 1 # launch detected, but keep moto
|
||||
uint8 STATE_FLYING = 2 # launch detected, use normal takeoff/flying configuration
|
||||
|
||||
uint8 launch_detection_state
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user