mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Template C++ LinearFilter to work with unit types (#2142)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user