Package com.pathplanner.lib.config
Class PIDConstants
java.lang.Object
com.pathplanner.lib.config.PIDConstants
PID constants used to create PID controllers
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPIDConstants
(double kP) Create a new PIDConstants objectPIDConstants
(double kP, double kD) Create a new PIDConstants objectPIDConstants
(double kP, double kI, double kD) Create a new PIDConstants objectPIDConstants
(double kP, double kI, double kD, double iZone) Create a new PIDConstants object -
Method Summary
-
Field Details
-
kP
public final double kPP -
kI
public final double kII -
kD
public final double kDD -
iZone
public final double iZoneIntegral range
-
-
Constructor Details
-
PIDConstants
public PIDConstants(double kP, double kI, double kD, double iZone) Create a new PIDConstants object- Parameters:
kP
- PkI
- IkD
- DiZone
- Integral range
-
PIDConstants
public PIDConstants(double kP, double kI, double kD) Create a new PIDConstants object- Parameters:
kP
- PkI
- IkD
- D
-
PIDConstants
public PIDConstants(double kP, double kD) Create a new PIDConstants object- Parameters:
kP
- PkD
- D
-
PIDConstants
public PIDConstants(double kP) Create a new PIDConstants object- Parameters:
kP
- P
-