Make Dead Assist default drive mode

This commit is contained in:
Keenan D. Buckley
2020-02-12 20:37:45 -07:00
parent cf061c1170
commit b9919693cd
2 changed files with 3 additions and 7 deletions
@@ -61,7 +61,7 @@ public class DriveWithJoystickUsingDeadAssistPID extends CommandBase {
currentGyro-(DriveConstants.TICKS_PER_GYRO_REV/4),
currentGyro+(DriveConstants.TICKS_PER_GYRO_REV/4));
}
/* Otherwise set target angle to current angle */
/* Otherwise set target angle to current angle (prevents buildup of gyro error) */
else {
m_targetGyro = currentGyro;
}