diff --git a/libraries/AP_Landing/AP_Landing.h b/libraries/AP_Landing/AP_Landing.h index 32ce1338e6..14cc9a23cc 100644 --- a/libraries/AP_Landing/AP_Landing.h +++ b/libraries/AP_Landing/AP_Landing.h @@ -91,9 +91,11 @@ public: int8_t get_flap_percent(void) const { return flap_percent; } int8_t get_throttle_slewrate(void) const { return throttle_slewrate; } bool is_commanded_go_around(void) const { return commanded_go_around; } + bool is_complete(void) const { return complete; } void set_initial_slope() { initial_slope = slope; } + // Flag to indicate if we have landed. // Set land_complete if we are within 2 seconds distance or within 3 meters altitude of touchdown bool complete;