Closed badeniran closed 4 years ago
A smoothing factor of 0.15 was pretty arbitrary. It could potentially be bigger or may need to be smaller, but testing will be needed to find a value that gives us what we want
Does smoothCurrent
make enough sense as a function name to a new reader, or should we call it something like lowPassFilter
?
Does
smoothCurrent
make enough sense as a function name to a new reader, or should we call it something likelowPassFilter
?
That might be a good idea. I guess I could also add a quick description as to what a low pass filter is
During FSGP 2019, many issues with motors tripping when switching 0 current out to high current out. IIR Low Pass Filter (system that is resistant to change) implemented to solve this issue.