diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-01-16 11:24:32 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-01-16 11:24:32 -0500 |
commit | b655dbdba8532f31b13b410f2dfedbbb3775dba3 (patch) | |
tree | c8e1b72d1bf2ad54b93b04a8cf47ca3079acbad8 /src/org/usfirst/frc/team4272/robot2015/Teleop.java | |
parent | 7080d2167ae2447ef18f3ba15d2bc39a880b4dc8 (diff) |
The last commit was corrupted; this is it re-created
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 */ |