[wpimath] Document example of online filtering for LinearFilter.finiteDifference() (#4336)

This commit is contained in:
Tyler Veness
2022-07-22 10:46:33 -07:00
committed by GitHub
parent 1023c34b1c
commit 6f1e01f8bd
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ class LinearFilter {
* difference. 0 is the current sample, -1 is the previous sample, -2 is the
* sample before that, etc. Don't use positive stencil points (samples from
* the future) if the LinearFilter will be used for stream-based online
* filtering.
* filtering (e.g., taking derivative of encoder samples in real-time).
*
* @tparam Derivative The order of the derivative to compute.
* @tparam Samples The number of samples to use to compute the given