Copter: AC_AttitudeControl: RP_FILT_HZ to RPY_FILT_HZ

This commit is contained in:
lthall 2024-02-23 16:36:31 +10:30 committed by Randy Mackay
parent ef45942a8a
commit 002bd5b1ea
1 changed files with 8 additions and 8 deletions

View File

@ -19,8 +19,8 @@
#ifndef AC_ATC_MULTI_RATE_RP_IMAX #ifndef AC_ATC_MULTI_RATE_RP_IMAX
# define AC_ATC_MULTI_RATE_RP_IMAX 0.5f # define AC_ATC_MULTI_RATE_RP_IMAX 0.5f
#endif #endif
#ifndef AC_ATC_MULTI_RATE_RP_FILT_HZ #ifndef AC_ATC_MULTI_RATE_RPY_FILT_HZ
# define AC_ATC_MULTI_RATE_RP_FILT_HZ 20.0f # define AC_ATC_MULTI_RATE_RPY_FILT_HZ 20.0f
#endif #endif
#ifndef AC_ATC_MULTI_RATE_YAW_P #ifndef AC_ATC_MULTI_RATE_YAW_P
# define AC_ATC_MULTI_RATE_YAW_P 0.180f # define AC_ATC_MULTI_RATE_YAW_P 0.180f
@ -106,9 +106,9 @@ protected:
.d = AC_ATC_MULTI_RATE_RP_D, .d = AC_ATC_MULTI_RATE_RP_D,
.ff = 0.0f, .ff = 0.0f,
.imax = AC_ATC_MULTI_RATE_RP_IMAX, .imax = AC_ATC_MULTI_RATE_RP_IMAX,
.filt_T_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ, .filt_T_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.filt_E_hz = 0.0f, .filt_E_hz = 0.0f,
.filt_D_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ, .filt_D_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.srmax = 0, .srmax = 0,
.srtau = 1.0 .srtau = 1.0
} }
@ -120,9 +120,9 @@ protected:
.d = AC_ATC_MULTI_RATE_RP_D, .d = AC_ATC_MULTI_RATE_RP_D,
.ff = 0.0f, .ff = 0.0f,
.imax = AC_ATC_MULTI_RATE_RP_IMAX, .imax = AC_ATC_MULTI_RATE_RP_IMAX,
.filt_T_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ, .filt_T_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.filt_E_hz = 0.0f, .filt_E_hz = 0.0f,
.filt_D_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ, .filt_D_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.srmax = 0, .srmax = 0,
.srtau = 1.0 .srtau = 1.0
} }
@ -135,9 +135,9 @@ protected:
.d = AC_ATC_MULTI_RATE_YAW_D, .d = AC_ATC_MULTI_RATE_YAW_D,
.ff = 0.0f, .ff = 0.0f,
.imax = AC_ATC_MULTI_RATE_YAW_IMAX, .imax = AC_ATC_MULTI_RATE_YAW_IMAX,
.filt_T_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ, .filt_T_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.filt_E_hz = AC_ATC_MULTI_RATE_YAW_FILT_HZ, .filt_E_hz = AC_ATC_MULTI_RATE_YAW_FILT_HZ,
.filt_D_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ, .filt_D_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.srmax = 0, .srmax = 0,
.srtau = 1.0 .srtau = 1.0
} }