From 756236af3505fc9d42a17e6fb46049cdd1a5a006 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 3 Feb 2016 14:34:35 +0900 Subject: [PATCH] AP_MotorsHeli: remove unused delta_phase_angle --- libraries/AP_Motors/AP_MotorsHeli.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsHeli.h b/libraries/AP_Motors/AP_MotorsHeli.h index 9a45b6cb0e..4f144d0a09 100644 --- a/libraries/AP_Motors/AP_MotorsHeli.h +++ b/libraries/AP_Motors/AP_MotorsHeli.h @@ -127,10 +127,6 @@ public: // var_info for holding Parameter information static const struct AP_Param::GroupInfo var_info[]; - // set_delta_phase_angle for setting variable phase angle compensation and force recalculation of collective factors - // ignored unless overloaded by child classes - virtual void set_delta_phase_angle(int16_t angle){}; - // get_motor_mask - returns a bitmask of which outputs are being used for motors or servos (1 means being used) // this can be used to ensure other pwm outputs (i.e. for servos) do not conflict virtual uint16_t get_motor_mask() = 0; @@ -217,7 +213,6 @@ protected: float _pitchFactor[AP_MOTORS_HELI_NUM_SWASHPLATE_SERVOS]; float _collectiveFactor[AP_MOTORS_HELI_NUM_SWASHPLATE_SERVOS]; int16_t _collective_mid_pwm = 0; // collective mid parameter value converted to pwm form (i.e. 0 ~ 1000) - int16_t _delta_phase_angle = 0; // phase angle dynamic compensation int16_t _roll_radio_passthrough = 0; // roll control PWM direct from radio, used for manual control int16_t _pitch_radio_passthrough = 0; // pitch control PWM direct from radio, used for manual control int16_t _throttle_radio_passthrough = 0; // throttle control PWM direct from radio, used for manual control