Modify Turning PID

- Uses a modified Velocity PID to keep robot still while rotating
- Could also use a Position PID to keep robot still but should be looked into further
This commit is contained in:
Keenan D. Buckley
2020-01-30 21:46:56 -07:00
parent ae5fc4cb00
commit 5cb458082a
2 changed files with 7 additions and 5 deletions
@@ -53,6 +53,7 @@ public final class Constants {
public static final double TICKS_PER_MOTOR_REV = 2048;
public static final double MOTOR_TO_WHEEL_GEAR_RATIO = 12.5;
public static final double WHEEL_DIAMETER_INCHES = 6;
public static final double TICKS_PER_GYRO_REV = 8192;
/* Ratio Calculation */
public static final double TICK_TIME_TO_SECONDS = 0.1;