Delete copies of methods, and change initialize code in runIntakeContinuous and runRe...
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / StopWinch.java
index d8267ff10f4601e6636d22523308a699d35b4788..597bd65d18ca44be30885d09d056aee9070f13af 100644 (file)
@@ -13,7 +13,7 @@ import edu.wpi.first.wpilibj.command.Command;
 public class StopWinch extends Command {
 
   public StopWinch() {
-    requires(Robot.getClimber());
+    requires(Robot.getDriveTrain());
   }
 
   @Override
@@ -22,7 +22,6 @@ public class StopWinch extends Command {
 
   @Override
   protected void execute() {
-
   }
 
   @Override
@@ -32,7 +31,7 @@ public class StopWinch extends Command {
 
   @Override
   protected void end() {
-    Robot.getClimber().stop();
+    Robot.getDriveTrain().stop();
 
   }