edu.wpi.first.wpilibj

## Interface PIDInterface

- All Known Subinterfaces:
    CANSpeedController
  All Known Implementing Classes:
    PIDController

      public interface PIDInterface

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `disable()` Stops the control loop from running until explicitly re-enabled by calling `enable()`.
    `void` | `enable()` Allows the control loop to run.
    `double` | `getD()`
    `double` | `getError()`
    `double` | `getI()`
    `double` | `getP()`
    `double` | `getSetpoint()`
    `boolean` | `isEnabled()`
    `void` | `reset()`
    `void` | `setPID(double p, double i, double d)`
    `void` | `setSetpoint(double setpoint)`

- - ### Method Detail

    - #### setPID

          void setPID(double p,
                      double i,
                      double d)

    - #### getP

          double getP()

    - #### getI

          double getI()

    - #### getD

          double getD()

    - #### setSetpoint

          void setSetpoint(double setpoint)

    - #### getSetpoint

          double getSetpoint()

    - #### getError

          double getError()

    - #### enable

          void enable()

      Allows the control loop to run.

    - #### disable

          void disable()

      Stops the control loop from running until explicitly re-enabled by calling `enable()`.

    - #### isEnabled

          boolean isEnabled()

    - #### reset

          void reset()