Class AHighPassFilter

java.lang.Object
com.stuypulse.stuylib.streams.angles.filters.AHighPassFilter
All Implemented Interfaces:
AFilter

public class AHighPassFilter extends Object implements AFilter
Implementation for of a real time IIR HighPassFilter
  • Constructor Details

    • AHighPassFilter

      public AHighPassFilter(Number rc)
      Parameters:
      rc - time constant for high pass filter
  • Method Details

    • get

      public Angle get(Angle next)
      Description copied from interface: AFilter
      Get next value in Filter based on the next value given
      Specified by:
      get in interface AFilter
      Parameters:
      next - next input value in the stream
      Returns:
      the output value of the filter