mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpimath] Document example of online filtering for LinearFilter.finiteDifference() (#4336)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user