Package tagalong.controls
Class PIDConstants
java.lang.Object
tagalong.controls.PIDConstants
- Direct Known Subclasses:
PIDSGVAConstants
PID wrapper class for coefficients that are generically reused in multiple
controllers.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProfiledController(TrapezoidProfile.Constraints constraints)
-
Field Details
-
p
Proportional, integral, and derivative coefficient -
i
Proportional, integral, and derivative coefficient -
d
Proportional, integral, and derivative coefficient
-
-
Constructor Details
-
PIDConstants
- Parameters:
p- Proportional coefficienti- Integral coefficientd- Derivative coefficient
-
-
Method Details
-
getUnprofiledController
- Returns:
- PID values converted to an un-profiled PID controller
-
getProfiledController
- Parameters:
constraints- Profile constraints- Returns:
- PID values converted to an profiled PID controller
-