Interface PIDRateValueSrc<T extends edu.wpi.first.wpilibj.PIDSource>

  • Type Parameters:
    T - the type of sensor.
    All Superinterfaces:
    edu.wpi.first.wpilibj.PIDSource, PIDSrc<T,​java.lang.Float>
    All Known Implementing Classes:
    EncoderPIDSrc, TractionController, VelocityController

    public interface PIDRateValueSrc<T extends edu.wpi.first.wpilibj.PIDSource>
    extends PIDSrc<T,​java.lang.Float>
    Defines a component which can provide rate values for a PID system.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.Float getRate()
      Get the rate measured by this sensor.
      • Methods inherited from interface edu.wpi.first.wpilibj.PIDSource

        getPIDSourceType, setPIDSourceType
    • Method Detail

      • getRate

        default java.lang.Float getRate()
        Get the rate measured by this sensor.
        Returns:
        the rate value.