AP_SpdHgtControl: added reset()

This commit is contained in:
Andrew Tridgell 2020-02-06 15:43:26 +11:00
parent 7ee9b437bb
commit e1ab70a730

View File

@ -63,6 +63,9 @@ public:
// set path_proportion accessor // set path_proportion accessor
virtual void set_path_proportion(float path_proportion) = 0; 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 // add new controllers to this enum. Users can then
// select which controller to use by setting the // select which controller to use by setting the
// SPDHGT_CONTROLLER parameter // SPDHGT_CONTROLLER parameter