Finally got this code reviewed, bugfixes
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / driving / ToggleGear.java
index 96f98dbc27a290138d1a2b538731ce53e82f185a..cc7e1f762727d11ba40f80c94271136ed64f6baa 100644 (file)
@@ -16,7 +16,7 @@ public class ToggleGear extends Command {
   // Called just before this Command runs the first time
   @Override
   protected void initialize() {
-    Robot.driveTrain.toggleFlipped();
+    Robot.driveTrain.switchGear();
   }
 
   // Called repeatedly when this Command is scheduled to run