AP_SpdHgtControl: added get_max_sinkrate()

This commit is contained in:
Andrew Tridgell 2021-06-01 15:32:30 +10:00
parent a789bb372b
commit eba1d499d4
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ public:
// return maximum climb rate
virtual float get_max_climbrate(void) const = 0;
// return maximum sink rate (+ve number)
virtual float get_max_sinkrate(void) const = 0;
// added to let SoaringController reset pitch integrator to zero
virtual void reset_pitch_I(void) = 0;