import edu.wpi.first.wpilibj.command.Command;
/**
+<<<<<<< 1b45bc927675060d057730fc7c7083fb9d813f66
* This command runs the winch motor continuously at a specified speed until the
* button triggering it is released. This command also makes the drive train
* motors run because the winch is controlled by the drive train.
+=======
+ * This command will run the winch motor continuously until the button
+ * triggering it is released. This command also runs the drive train.
+>>>>>>> Delete StopWinch and Climber subsystem, edit javadoc comments
*
* pre-condition: This command must be run by a button in OI. The robot must be
* attached to the rope.
@Override
protected void initialize() {
Robot.getDriveTrain().setMotorValues(motorVal, motorVal);
+<<<<<<< 1b45bc927675060d057730fc7c7083fb9d813f66
+=======
+
+>>>>>>> Delete StopWinch and Climber subsystem, edit javadoc comments
}
@Override
@Override
protected boolean isFinished() {
- return !Robot.getOI().toggleWinch.get();
+ return false;
}
@Override
+++ /dev/null
-package org.usfirst.frc.team3501.robot.subsystems;
-
-import org.usfirst.frc.team3501.robot.Constants;
-
-import com.ctre.CANTalon;
-
-import edu.wpi.first.wpilibj.command.Subsystem;
-
-public class Climber extends Subsystem {
- private static Climber climber;
- private final CANTalon motor;
-
- private Climber() {
- motor = new CANTalon(Constants.Climber.MOTOR);
- }
-
- public static Climber getClimber() {
- if (climber == null) {
- climber = new Climber();
- }
- return climber;
- }
-
- public void stop() {
- setMotorValue(0);
- }
-
- public void setMotorValue(final double val) {
- motor.set(MOTOR);
-
- }
-}