some auto stuff

This commit is contained in:
aarav18
2022-02-03 20:53:43 -07:00
parent 5c05a320e8
commit e9ab948adc
6 changed files with 71 additions and 24 deletions
@@ -222,6 +222,13 @@ public class SwerveDrive extends SubsystemBase {
// Timer.getFPGATimestamp() - 0.1);
}
public void stopModules() {
modules[0].stop();
modules[1].stop();
modules[2].stop();
modules[3].stop();
}
public void highSpeed(boolean shift){
if (shift){
speedAdjust = SwerveDriveConstants.JOYSTICK_TO_METERS_PER_SECOND_FAST;