Class BiquadFilter.Section
java.lang.Object
org.wpilib.math.filter.BiquadFilter.Section
- Enclosing class:
BiquadFilter
A single biquad (second-order) section. a₀ is assumed normalized to 1.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSection(double b0, double b1, double b2, double a1, double a2) Creates a biquad section. -
Method Summary
-
Field Details
-
b0
public final double b0The b0 feedforward coefficient. -
b1
public final double b1The b1 feedforward coefficient. -
b2
public final double b2The b2 feedforward coefficient. -
a1
public final double a1The a1 feedback coefficient. -
a2
public final double a2The a2 feedback coefficient.
-
-
Constructor Details
-
Section
public Section(double b0, double b1, double b2, double a1, double a2) Creates a biquad section.- Parameters:
b0- The b0 feedforward coefficient.b1- The b1 feedforward coefficient.b2- The b2 feedforward coefficient.a1- The a1 feedback coefficient.a2- The a2 feedback coefficient.
-