import edu.wpi.first.wpilibj.command.Command;
/**
- * This command stops the winch
- *
- * post-condition: the motor values are set to 0.
+ * Stops the winch
*
* @author shivanighanta
*
public class StopWinch extends Command {
public StopWinch() {
+
+ requires(Robot.getDriveTrain());
+ requires(Robot.getClimber());
+
}
@Override
@Override
protected void end() {
- Robot.getClimber().stop();
+ Robot.getDriveTrain().stop();
}