public static final int ENCODER_RIGHT_B = 3;
}
+ public static class Climber {
+ // MOTOR CONTROLLERS
+ public static final int MOTOR_VAL = 1;
+
+ }
+
public static enum Direction {
LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
}
package org.usfirst.frc.team3501.robot.subsystems;
-public class Climber {
+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() {
}
public void setMotorValue(final double val) {
+ motor.set(MOTOR);
}
}