Delete StopWinch and Climber subsystem, edit javadoc comments
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / StopWinch.java
index 8fa01a3014876d16872927b7ada95fa46fa5ed87..45ae19efee0860cb2d32beb995cdedc8e1e96990 100644 (file)
@@ -13,6 +13,10 @@ import edu.wpi.first.wpilibj.command.Command;
 public class StopWinch extends Command {
 
   public StopWinch() {
+
+    requires(Robot.getDriveTrain());
+    requires(Robot.getClimber());
+
   }
 
   @Override
@@ -30,7 +34,7 @@ public class StopWinch extends Command {
 
   @Override
   protected void end() {
-    Robot.getClimber().stop();
+    Robot.getDriveTrain().stop();
 
   }