add Motor value in constants
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / subsystems / Climber.java
index 9dd7361ba83d3b2da383834f0150aa86696ca345..3d49f90be48f17f96ef93f6a4c550030697265a2 100644 (file)
@@ -1,10 +1,17 @@
 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() {
@@ -19,6 +26,7 @@ public class Climber {
   }
 
   public void setMotorValue(final double val) {
+    motor.set(MOTOR);
 
   }
 }