landdetector: add additional landdetection state

This commit is contained in:
Dennis Mannhart
2017-08-01 19:31:34 +02:00
committed by Lorenz Meier
parent 529def11e8
commit f8e9f380d0
9 changed files with 76 additions and 7 deletions
@@ -74,6 +74,8 @@ protected:
virtual bool _get_ground_contact_state() override;
virtual bool _get_maybe_landed_state() override;
virtual bool _get_freefall_state() override;
virtual float _get_max_altitude() override;
@@ -139,6 +141,7 @@ private:
bool _has_position_lock();
bool _has_manual_control_present();
bool _has_minimal_thrust();
bool _has_low_thrust();
};