Interface PIDRawValueSrc<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

    public interface PIDRawValueSrc<T extends edu.wpi.first.wpilibj.PIDSource>
    extends PIDSrc<T,​java.lang.Float>
    Defines a component which provides a generic measurable value for a PID system.
    • Method Summary

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

        getPIDSourceType, setPIDSourceType
    • Method Detail

      • getValue

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