APM_Control: include 0 in param range for filter index

This commit is contained in:
Iampete1
2026-08-22 21:38:02 +01:00
committed by Andy Piper
parent d3ba92df8f
commit 489bc1d9bb
4 changed files with 28 additions and 28 deletions
+4 -4
View File
@@ -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),
+4 -4
View File
@@ -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),
+4 -4
View File
@@ -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),
+16 -16
View File
@@ -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),