mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
APM_Control: include 0 in param range for filter index
This commit is contained in:
@@ -145,14 +145,14 @@ const AP_Param::GroupInfo AP_PitchController::var_info[] = {
|
||||
|
||||
// @Param: _RATE_NTF
|
||||
// @DisplayName: Pitch Target notch filter index
|
||||
// @Description: Pitch Target notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Pitch Target notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: _RATE_NEF
|
||||
// @DisplayName: Pitch Error notch filter index
|
||||
// @Description: Pitch Error notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Pitch Error notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
AP_SUBGROUPINFO(rate_pid, "_RATE_", 11, AP_PitchController, AC_PID),
|
||||
|
||||
@@ -128,14 +128,14 @@ const AP_Param::GroupInfo AP_RollController::var_info[] = {
|
||||
|
||||
// @Param: _RATE_NTF
|
||||
// @DisplayName: Roll Target notch filter index
|
||||
// @Description: Roll Target notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Roll Target notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: _RATE_NEF
|
||||
// @DisplayName: Roll Error notch filter index
|
||||
// @Description: Roll Error notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Roll Error notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
AP_SUBGROUPINFO(rate_pid, "_RATE_", 9, AP_RollController, AC_PID),
|
||||
|
||||
@@ -160,14 +160,14 @@ const AP_Param::GroupInfo AP_YawController::var_info[] = {
|
||||
|
||||
// @Param: _RATE_NTF
|
||||
// @DisplayName: Yaw Target notch filter index
|
||||
// @Description: Yaw Target notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Yaw Target notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: _RATE_NEF
|
||||
// @DisplayName: Yaw Error notch filter index
|
||||
// @Description: Yaw Error notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Yaw Error notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
AP_SUBGROUPINFO(rate_pid, "_RATE_", 9, AP_YawController, AC_PID),
|
||||
|
||||
@@ -157,14 +157,14 @@ const AP_Param::GroupInfo AR_AttitudeControl::var_info[] = {
|
||||
|
||||
// @Param: _STR_RAT_NTF
|
||||
// @DisplayName: Steering control Target notch filter index
|
||||
// @Description: Steering control Target notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Steering control Target notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: _STR_RAT_NEF
|
||||
// @DisplayName: Steering control Error notch filter index
|
||||
// @Description: Steering control Error notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Steering control Error notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
AP_SUBGROUPINFO(_steer_rate_pid, "_STR_RAT_", 1, AR_AttitudeControl, AC_PID),
|
||||
@@ -258,14 +258,14 @@ const AP_Param::GroupInfo AR_AttitudeControl::var_info[] = {
|
||||
|
||||
// @Param: _SPEED_NTF
|
||||
// @DisplayName: Speed control Target notch filter index
|
||||
// @Description: Speed control Target notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Speed control Target notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: _SPEED_NEF
|
||||
// @DisplayName: Speed control Error notch filter index
|
||||
// @Description: Speed control Error notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Speed control Error notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
AP_SUBGROUPINFO(_throttle_speed_pid, "_SPEED_", 2, AR_AttitudeControl, AC_PID),
|
||||
@@ -419,14 +419,14 @@ const AP_Param::GroupInfo AR_AttitudeControl::var_info[] = {
|
||||
|
||||
// @Param: _BAL_NTF
|
||||
// @DisplayName: Pitch control Target notch filter index
|
||||
// @Description: Pitch control Target notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Pitch control Target notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: _BAL_NEF
|
||||
// @DisplayName: Pitch control Error notch filter index
|
||||
// @Description: Pitch control Error notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Pitch control Error notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
AP_SUBGROUPINFO(_pitch_to_throttle_pid, "_BAL_", 10, AR_AttitudeControl, AC_PID),
|
||||
@@ -528,14 +528,14 @@ const AP_Param::GroupInfo AR_AttitudeControl::var_info[] = {
|
||||
|
||||
// @Param: _SAIL_NTF
|
||||
// @DisplayName: Sail Heel Target notch filter index
|
||||
// @Description: Sail Heel Target notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Sail Heel Target notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
// @Param: _SAIL_NEF
|
||||
// @DisplayName: Sail Heel Error notch filter index
|
||||
// @Description: Sail Heel Error notch filter index
|
||||
// @Range: 1 8
|
||||
// @Description: Sail Heel Error notch filter index, zero disables
|
||||
// @Range: 0 8
|
||||
// @User: Advanced
|
||||
|
||||
AP_SUBGROUPINFO(_sailboat_heel_pid, "_SAIL_", 12, AR_AttitudeControl, AC_PID),
|
||||
|
||||
Reference in New Issue
Block a user