Package lib.custom.motioncontrollers
Class ezControl
java.lang.Object
lib.custom.motioncontrollers.ezControl
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ezMotion.FeedForwardfinal edu.wpi.first.math.controller.PIDController -
Constructor Summary
ConstructorsConstructorDescriptionezControl(double kP, double kI, double kD) ezControl(double kP, double kI, double kD, ezMotion.FeedForward ff) ezControl(edu.wpi.first.math.controller.PIDController pid) ezControl(edu.wpi.first.math.controller.PIDController pid, ezMotion.FeedForward ff) -
Method Summary
-
Field Details
-
pid
public final edu.wpi.first.math.controller.PIDController pid -
ff
-
-
Constructor Details
-
ezControl
public ezControl(double kP, double kI, double kD) -
ezControl
-
ezControl
public ezControl(edu.wpi.first.math.controller.PIDController pid) -
ezControl
-
-
Method Details
-
reset
public void reset() -
calculate
public double calculate(double current, edu.wpi.first.math.trajectory.TrapezoidProfile.State setpoint)
-