diff options
Diffstat (limited to 'src/org/usfirst/frc/team4272/robot2015/Teleop.java')
-rw-r--r-- | src/org/usfirst/frc/team4272/robot2015/Teleop.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2015/Teleop.java b/src/org/usfirst/frc/team4272/robot2015/Teleop.java index 058589a..85b071b 100644 --- a/src/org/usfirst/frc/team4272/robot2015/Teleop.java +++ b/src/org/usfirst/frc/team4272/robot2015/Teleop.java @@ -27,7 +27,7 @@ public class Teleop { control.lDrive = jsScale(oi.lStick); control.rDrive = jsScale(oi.rStick); /* Winch */ - control.winch = oi.xbox.getAxis(Axis.LY);/* up is neg, down is pos */ + control.winch = oi.xbox.getAxis(Axis.LY ) * -1;/* up is neg, down is pos */ if (Math.abs(control.winch) < 0.1) { control.winch = 0; } /* left intake */ |