Skip to content

Commit

Permalink
Fix object instance bug in commanded pitch filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Mar 3, 2021
1 parent cfb0a93 commit 062a3b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Filters.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 062a3b9

Please sign in to comment.