competition fixes
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / RunWinchContinuous.java
index 06fa1547db2131986d6ea88af5fba47ca3c1387c..0772ffb95ecbe7c12c153aca548c2c9a95a04b1f 100644 (file)
@@ -35,11 +35,12 @@ public class RunWinchContinuous extends Command {
 
   @Override
   protected void initialize() {
+    climber.setCANTalonsBrakeMode(climber.COAST_MODE);
   }
 
   @Override
   protected void execute() {
-    double thrust = OI.leftJoystick.getY();
+    double thrust = OI.xboxController.getY();
     climber.setMotorValues(-thrust);
   }