mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- improve terrain estiamte documentation - add landing abort condition bitmasked parameter to choose abort conditions - refactor terrain estimate getter with landing abort logic - log abort status and inform user - log flaring status
12 lines
537 B
Plaintext
12 lines
537 B
Plaintext
uint64 timestamp # [us] time since system start
|
|
float32 lateral_touchdown_offset # [m] lateral touchdown position offset manually commanded during landing
|
|
bool flaring # true if the aircraft is flaring
|
|
bool abort_landing # true if landing should be aborted
|
|
int32 abort_reason # the singular abort criterion which triggered the landing abort
|
|
|
|
# abort reasons
|
|
# corresponds to individual bits of param FW_LND_ABORT
|
|
uint8 kAbortReasonNone = 0
|
|
uint8 kAbortReasonTerrainNotFound = 1 # (1 << 0)
|
|
uint8 kAbortReasonTerrainTimeout = 2 # (1 << 1)
|