Browse Source

AP_Motors: add get for throttle comp

mission-4.1.18
Leonard Hall 10 years ago committed by Randy Mackay
parent
commit
88be3d67e7
  1. 3
      libraries/AP_Motors/AP_Motors_Class.h

3
libraries/AP_Motors/AP_Motors_Class.h

@ -158,6 +158,9 @@ public: @@ -158,6 +158,9 @@ public:
// has no effect when throttle is above hover throttle
void set_throttle_low_comp(float throttle_low_comp) { _throttle_low_comp_desired = throttle_low_comp; }
// get_throttle_low_comp - get low throttle compensation value
float get_throttle_low_comp() { return _throttle_low_comp; }
// get_lift_max - get maximum lift ratio
float get_lift_max() { return _lift_max; }

Loading…
Cancel
Save