mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 07:03:33 +08:00
docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
This commit is contained in:
@@ -1,8 +1,31 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# LandingGear (UORB message)
|
||||
|
||||
**TOPICS:** landing_gear
|
||||
|
||||
## Fields
|
||||
|
||||
[source file](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LandingGear.msg)
|
||||
| Name | Type | Unit [Frame] | Range/Enum | Description |
|
||||
| ------------ | -------- | ------------ | ---------- | -------------------------------------- |
|
||||
| timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| landing_gear | `int8` | | |
|
||||
|
||||
## Constants
|
||||
|
||||
| Name | Type | Value | Description |
|
||||
| ----------------------------------- | ------ | ----- | ---------------------- |
|
||||
| <a href="#GEAR_UP"></a> GEAR_UP | `int8` | 1 | landing gear up |
|
||||
| <a href="#GEAR_DOWN"></a> GEAR_DOWN | `int8` | -1 | landing gear down |
|
||||
| <a href="#GEAR_KEEP"></a> GEAR_KEEP | `int8` | 0 | keep the current state |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/LandingGear.msg)
|
||||
|
||||
::: details Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
@@ -12,5 +35,6 @@ int8 GEAR_DOWN = -1 # landing gear down
|
||||
int8 GEAR_KEEP = 0 # keep the current state
|
||||
|
||||
int8 landing_gear
|
||||
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user