mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 13:53:34 +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
@@ -135,10 +135,10 @@ private:
|
||||
vehicle_land_detected_s _vehicle_land_detected = {
|
||||
.timestamp = 0,
|
||||
.alt_max = -1.0f,
|
||||
.landed = true,
|
||||
.freefall = false,
|
||||
.ground_contact = false,
|
||||
.maybe_landed = false,
|
||||
.ground_contact = true,
|
||||
.maybe_landed = true,
|
||||
.landed = true,
|
||||
};
|
||||
|
||||
vehicle_attitude_setpoint_s _att_sp{}; /**< vehicle attitude setpoint */
|
||||
|
||||
Reference in New Issue
Block a user