Browse Source

AP_Motors: added comments to indicate parameter indices previously used by RSC_PWM_MIN, RSC_PWM_MAX, and RSC_PWM_REV

master
bnsgeyer 7 years ago committed by Randy Mackay
parent
commit
7a9e424977
  1. 2
      libraries/AP_Motors/AP_MotorsHeli_Dual.cpp
  2. 2
      libraries/AP_Motors/AP_MotorsHeli_Quad.cpp
  3. 1
      libraries/AP_Motors/AP_MotorsHeli_Single.cpp

2
libraries/AP_Motors/AP_MotorsHeli_Dual.cpp

@ -123,6 +123,8 @@ const AP_Param::GroupInfo AP_MotorsHeli_Dual::var_info[] = { @@ -123,6 +123,8 @@ const AP_Param::GroupInfo AP_MotorsHeli_Dual::var_info[] = {
// @Increment: 0.1
AP_GROUPINFO("YAW_SCALER", 12, AP_MotorsHeli_Dual, _yaw_scaler, 1.0f),
// Indices 13-15 were used by RSC_PWM_MIN, RSC_PWM_MAX and RSC_PWM_REV and should not be used
// @Param: COL2_MIN
// @DisplayName: Collective Pitch Minimum for rear swashplate
// @Description: Lowest possible servo position in PWM microseconds for the rear swashplate

2
libraries/AP_Motors/AP_MotorsHeli_Quad.cpp

@ -23,6 +23,8 @@ extern const AP_HAL::HAL& hal; @@ -23,6 +23,8 @@ extern const AP_HAL::HAL& hal;
const AP_Param::GroupInfo AP_MotorsHeli_Quad::var_info[] = {
AP_NESTEDGROUPINFO(AP_MotorsHeli, 0),
// Indices 1-3 were used by RSC_PWM_MIN, RSC_PWM_MAX and RSC_PWM_REV and should not be used
AP_GROUPEND
};

1
libraries/AP_Motors/AP_MotorsHeli_Single.cpp

@ -116,6 +116,7 @@ const AP_Param::GroupInfo AP_MotorsHeli_Single::var_info[] = { @@ -116,6 +116,7 @@ const AP_Param::GroupInfo AP_MotorsHeli_Single::var_info[] = {
// @User: Standard
AP_GROUPINFO("GYR_GAIN_ACRO", 11, AP_MotorsHeli_Single, _ext_gyro_gain_acro, 0),
// Indices 16-18 were used by RSC_PWM_MIN, RSC_PWM_MAX and RSC_PWM_REV and should not be used
// parameters up to and including 29 are reserved for tradheli
AP_GROUPEND

Loading…
Cancel
Save