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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetProfiledController(TrapezoidProfile.Constraints constraints) 
- 
Field Details- 
pProportional, integral, and derivative coefficient
- 
iProportional, integral, and derivative coefficient
- 
dProportional, integral, and derivative coefficient
 
- 
- 
Constructor Details- 
PIDConstants- Parameters:
- p- Proportional coefficient
- i- Integral coefficient
- d- 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
 
 
-