mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -136,8 +136,8 @@ TEST(FilterTest, StepTrim) {
|
||||
}
|
||||
|
||||
template <int Derivative, int Samples, typename F, typename DfDx>
|
||||
void AssertCentralResults(F&& f, DfDx&& dfdx, wpi::units::second_t h, double min,
|
||||
double max) {
|
||||
void AssertCentralResults(F&& f, DfDx&& dfdx, wpi::units::second_t h,
|
||||
double min, double max) {
|
||||
static_assert(Samples % 2 != 0, "Number of samples must be odd.");
|
||||
|
||||
auto filter = sysid::CentralFiniteDifference<Derivative, Samples>(h);
|
||||
|
||||
Reference in New Issue
Block a user