From e1ab70a730e28916ea9a1deda1338d9bc1d266ce Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 6 Feb 2020 15:43:26 +1100 Subject: [PATCH] AP_SpdHgtControl: added reset() --- 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 f067e14720..995a76fb3d 100644 --- a/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h +++ b/libraries/AP_SpdHgtControl/AP_SpdHgtControl.h @@ -63,6 +63,9 @@ public: // set path_proportion accessor virtual void set_path_proportion(float path_proportion) = 0; + // reset on next loop + virtual void reset(void) = 0; + // add new controllers to this enum. Users can then // select which controller to use by setting the // SPDHGT_CONTROLLER parameter