Template C++ LinearFilter to work with unit types (#2142)

This commit is contained in:
Oblarg
2019-12-01 02:12:02 -05:00
committed by Peter Johnson
parent 5b73c17f25
commit 9a515c80f8
7 changed files with 76 additions and 100 deletions

View File

@@ -402,7 +402,7 @@ class PIDBase : public PIDInterface,
double m_error = 0;
double m_result = 0;
LinearFilter m_filter{{}, {}};
LinearFilter<double> m_filter{{}, {}};
};
} // namespace frc