![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Version12.04.18
Fork of Micromouse_beta by
Diff: LowpassFilter.cpp
- Revision:
- 2:592f01278db4
- Parent:
- 1:d9e840c48b1e
diff -r d9e840c48b1e -r 592f01278db4 LowpassFilter.cpp --- a/LowpassFilter.cpp Sat Mar 31 16:45:57 2018 +0000 +++ b/LowpassFilter.cpp Wed Apr 04 15:24:28 2018 +0000 @@ -16,7 +16,9 @@ { period = 1.0f; - frequency = 1000.0f; + frequency = 10.0f; + // period = 1.0f; + //frequency = 1000.0f; a11 = (1.0f+frequency*period)*exp(-frequency*period); a12 = period*exp(-frequency*period);