Skip to content

Commit

Permalink
Copter: AC_AttitudeControl: RP_FILT_HZ to RPY_FILT_HZ
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall authored and rmackay9 committed Feb 23, 2024
1 parent 4497793 commit 728d9a9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions libraries/AC_AttitudeControl/AC_AttitudeControl_Multi.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#ifndef AC_ATC_MULTI_RATE_RP_IMAX
# define AC_ATC_MULTI_RATE_RP_IMAX 0.5f
#endif
#ifndef AC_ATC_MULTI_RATE_RP_FILT_HZ
# define AC_ATC_MULTI_RATE_RP_FILT_HZ 20.0f
#ifndef AC_ATC_MULTI_RATE_RPY_FILT_HZ
# define AC_ATC_MULTI_RATE_RPY_FILT_HZ 20.0f
#endif
#ifndef AC_ATC_MULTI_RATE_YAW_P
# define AC_ATC_MULTI_RATE_YAW_P 0.180f
Expand Down Expand Up @@ -106,9 +106,9 @@ class AC_AttitudeControl_Multi : public AC_AttitudeControl {
.d = AC_ATC_MULTI_RATE_RP_D,
.ff = 0.0f,
.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_D_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ,
.filt_D_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.srmax = 0,
.srtau = 1.0
}
Expand All @@ -120,9 +120,9 @@ class AC_AttitudeControl_Multi : public AC_AttitudeControl {
.d = AC_ATC_MULTI_RATE_RP_D,
.ff = 0.0f,
.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_D_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ,
.filt_D_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.srmax = 0,
.srtau = 1.0
}
Expand All @@ -135,9 +135,9 @@ class AC_AttitudeControl_Multi : public AC_AttitudeControl {
.d = AC_ATC_MULTI_RATE_YAW_D,
.ff = 0.0f,
.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_D_hz = AC_ATC_MULTI_RATE_RP_FILT_HZ,
.filt_D_hz = AC_ATC_MULTI_RATE_RPY_FILT_HZ,
.srmax = 0,
.srtau = 1.0
}
Expand Down

0 comments on commit 728d9a9

Please sign in to comment.