From 88be3d67e7548a857c707386c64eb779331da7df Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Tue, 14 Apr 2015 22:26:01 +0930 Subject: [PATCH] AP_Motors: add get for throttle comp --- libraries/AP_Motors/AP_Motors_Class.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Motors/AP_Motors_Class.h b/libraries/AP_Motors/AP_Motors_Class.h index 1d19524aae..8c71d18949 100644 --- a/libraries/AP_Motors/AP_Motors_Class.h +++ b/libraries/AP_Motors/AP_Motors_Class.h @@ -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; }