Class TorquePID

java.lang.Object
edu.wpi.first.math.controller.PIDController
org.texastorque.torquelib.control.TorquePID
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable, AutoCloseable

public final class TorquePID extends edu.wpi.first.math.controller.PIDController
A class representation of a PID controller that extends the WPILib PIDController.
  • Method Details

    • create

      public static final TorquePID.Builder create()
    • create

      public static final TorquePID.Builder create(double p)
    • getProportional

      public final double getProportional()
    • getIntegral

      public final double getIntegral()
    • getDerivative

      public final double getDerivative()
    • getFeedForward

      public final double getFeedForward()
    • getMinOutput

      public final double getMinOutput()
    • getMaxOutput

      public final double getMaxOutput()
    • getIntegralZone

      public final double getIntegralZone()
    • hasIntegralZone

      public final boolean hasIntegralZone()
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • createPIDController

      public final edu.wpi.first.math.controller.PIDController createPIDController()
    • createPIDController

      public final edu.wpi.first.math.controller.PIDController createPIDController(Function<edu.wpi.first.math.controller.PIDController,edu.wpi.first.math.controller.PIDController> function)