mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 05:37:35 +08:00
LandDetector: switch land flags to properies instead of one state
This commit is contained in:
committed by
Daniel Agar
parent
1e1549a169
commit
679e4fedf5
@@ -1,7 +1,7 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
bool landed # true if vehicle is currently landed on the ground
|
||||
bool freefall # true if vehicle is currently in free-fall
|
||||
bool ground_contact # true if vehicle has ground contact but is not landed
|
||||
bool maybe_landed # true if the vehicle might have landed
|
||||
float32 alt_max # maximum altitude in [m] that can be reached
|
||||
bool freefall # true if vehicle is currently in free-fall
|
||||
bool ground_contact # true if vehicle has ground contact but is not landed (1. stage)
|
||||
bool maybe_landed # true if the vehicle might have landed (2. stage)
|
||||
bool landed # true if vehicle is currently landed on the ground (3. stage)
|
||||
bool in_ground_effect # indicates if from the perspective of the landing detector the vehicle might be in ground effect (baro). This flag will become true if the vehicle is not moving horizontally and is descending (crude assumption that user is landing).
|
||||
|
||||
Reference in New Issue
Block a user