mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Make Dead Assist default drive mode
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user