mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpimath] Document C++ LinearFilter exception (#4417)
This commit is contained in:
@@ -157,6 +157,7 @@ class LinearFilter {
|
||||
*
|
||||
* @param taps The number of samples to average over. Higher = smoother but
|
||||
* slower
|
||||
* @throws std::runtime_error if number of taps is less than 1.
|
||||
*/
|
||||
static LinearFilter<T> MovingAverage(int taps) {
|
||||
if (taps <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user