mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_Motors: removed unused pwm parameters for heli
This commit is contained in:
parent
2b0f23d5b0
commit
9d3fd0e6b6
@ -124,28 +124,6 @@ const AP_Param::GroupInfo AP_MotorsHeli_Dual::var_info[] = {
|
||||
// @Increment: 0.1
|
||||
AP_GROUPINFO("YAW_SCALER", 12, AP_MotorsHeli_Dual, _yaw_scaler, 1.0f),
|
||||
|
||||
// @Param: RSC_PWM_MIN
|
||||
// @DisplayName: RSC PWM output miniumum
|
||||
// @Description: This sets the PWM output on RSC channel for maximum rotor speed
|
||||
// @Range: 0 2000
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("RSC_PWM_MIN", 13, AP_MotorsHeli_Dual, _rotor._pwm_min, 1000),
|
||||
|
||||
// @Param: RSC_PWM_MAX
|
||||
// @DisplayName: RSC PWM output maxiumum
|
||||
// @Description: This sets the PWM output on RSC channel for miniumum rotor speed
|
||||
// @Range: 0 2000
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("RSC_PWM_MAX", 14, AP_MotorsHeli_Dual, _rotor._pwm_max, 2000),
|
||||
|
||||
// @Param: RSC_PWM_REV
|
||||
// @DisplayName: RSC PWM reversal
|
||||
// @Description: This controls reversal of the RSC channel output
|
||||
// @Values: -1:Reversed,1:Normal
|
||||
// @User: Standard
|
||||
AP_GROUPINFO("RSC_PWM_REV", 15, AP_MotorsHeli_Dual, _rotor._pwm_rev, 1),
|
||||
|
||||
|
||||
// @Param: COL2_MIN
|
||||
// @DisplayName: Collective Pitch Minimum for rear swashplate
|
||||
// @Description: Lowest possible servo position for the rear swashplate
|
||||
|
@ -102,10 +102,6 @@ private:
|
||||
uint16_t _power_slewrate = 0; // slewrate for throttle (percentage per second)
|
||||
float _load_feedforward = 0.0f; // estimate of motor load, range 0-1.0f
|
||||
|
||||
AP_Int16 _pwm_min;
|
||||
AP_Int16 _pwm_max;
|
||||
AP_Int8 _pwm_rev;
|
||||
|
||||
// update_rotor_ramp - slews rotor output scalar between 0 and 1, outputs float scalar to _rotor_ramp_output
|
||||
void update_rotor_ramp(float rotor_ramp_input, float dt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user