Turn Degrees command works, Keenan did work on Dead Assist Control Mode

This commit is contained in:
Aarav Shah
2020-02-21 19:44:51 -07:00
parent e5a9d0c364
commit 9f1aff6c8d
5 changed files with 114 additions and 15 deletions
@@ -469,9 +469,9 @@ public class Drive extends SubsystemBase {
* @param targetAngle target angle in degrees
*/
public void runTurningPID(double targetAngle) {
double targetGyro = (targetAngle / 360) * DriveConstants.TICKS_PER_GYRO_REV;
//double targetGyro = (targetAngle / 360) * DriveConstants.TICKS_PER_GYRO_REV;
runDriveVelocityPID(0, targetGyro);
runDriveVelocityPID(0, targetAngle);
}
/**