From 062a3b9ad64784af56658a3aa232171f25da746e Mon Sep 17 00:00:00 2001 From: Nikhar Abbas Date: Wed, 3 Mar 2021 00:18:13 -0700 Subject: [PATCH] Fix object instance bug in commanded pitch filter --- src/Filters.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Filters.f90 b/src/Filters.f90 index 131343078..d32e7f199 100644 --- a/src/Filters.f90 +++ b/src/Filters.f90 @@ -295,8 +295,8 @@ SUBROUTINE PreFilterMeasuredSignals(CntrPar, LocalVar, objInst) ! Control commands (used by WSE, mostly) - LocalVar%VS_LastGenTrqF = SecLPFilter(LocalVar%VS_LastGenTrq, LocalVar%dt, CntrPar%F_LPFCornerFreq, 0.7, LocalVar%iStatus, .FALSE., objInst%instSecLPF) - LocalVar%PC_PitComTF = SecLPFilter(LocalVar%PC_PitComT, LocalVar%DT, CntrPar%F_LPFCornerFreq*0.25, 0.7, LocalVar%iStatus, .FALSE., objInst%instLPF) + LocalVar%VS_LastGenTrqF = SecLPFilter(LocalVar%VS_LastGenTrq, LocalVar%DT, CntrPar%F_LPFCornerFreq, 0.7, LocalVar%iStatus, .FALSE., objInst%instSecLPF) + LocalVar%PC_PitComTF = SecLPFilter(LocalVar%PC_PitComT, LocalVar%DT, CntrPar%F_LPFCornerFreq*0.25, 0.7, LocalVar%iStatus, .FALSE., objInst%instSecLPF) END SUBROUTINE PreFilterMeasuredSignals END MODULE Filters