From 8c1cab84c74877b002a1d093f868d38871ff00cf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Dec 2014 21:44:03 +1100 Subject: [PATCH] AP_SpdHgtControl: added get_land_sinkrate() --- libraries/AP_SpdHgtControl/AP_SpdHgtControl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h b/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h index 98f9956e37..cf45b5cc8c 100644 --- a/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h +++ b/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h @@ -65,6 +65,9 @@ public: // return maximum climb rate virtual float get_max_climbrate(void) const = 0; + // return landing sink rate + virtual float get_land_sinkrate(void) const = 0; + // add new controllers to this enum. Users can then // select which controller to use by setting the // SPDHGT_CONTROLLER parameter