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

  • Type Parameters:
    T - the type of the PIDSource sensor for this AnglePidSrc (eg potentiometer)
    All Superinterfaces:
    edu.wpi.first.wpilibj.PIDSource, PIDSrc<T,​java.lang.Float>
    All Known Implementing Classes:
    GyroAnglePIDSrc, PotentiometerVoltagePIDSrc

    public interface PIDAngleValueSrc<T extends edu.wpi.first.wpilibj.PIDSource>
    extends PIDSrc<T,​java.lang.Float>
    A PID source that specifically returns values to be interpreted as degrees.
    • Method Detail

      • getMinAngle

        java.lang.Float getMinAngle()
        The minimal angle of this sensor.
        Returns:
        the minimal angle of this sensor
      • getMaxAngle

        java.lang.Float getMaxAngle()
        The maximal angle of this sensor.
        Returns:
        the maximal angle of this sensor
      • getAngle

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