AP_MotorsMulticopter: add get_throttle_thrust_max accessor

This commit is contained in:
Leonard Hall 2016-01-21 15:07:11 +09:00 committed by Randy Mackay
parent d7dc37bda0
commit 3cbc15bb5b

View File

@ -119,6 +119,9 @@ public:
// get_throttle_limit - throttle limit ratio - for logging purposes only
float get_throttle_limit() const { return _throttle_limit; }
// returns maximum thrust in the range 0 to 1
float get_throttle_thrust_max() const { return _throttle_thrust_max; }
// return true if spool up is complete
bool spool_up_complete() const { return _multicopter_flags.spool_mode == THROTTLE_UNLIMITED; }