diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-01-31 15:12:47 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-01-31 15:12:47 -0500 |
commit | 582f062811d298efc6a0d4c09ca746a240a96220 (patch) | |
tree | b3887fa6181200bfd40955325beab9c7843eb660 /src/org/usfirst/frc/team4272/robot2016/Control.java | |
parent | 894d9ddd315c058b8ede29dc8fadba742ca148af (diff) |
Only run one set of drive motors unless triggers are pulled (to save power)
Diffstat (limited to 'src/org/usfirst/frc/team4272/robot2016/Control.java')
-rw-r--r-- | src/org/usfirst/frc/team4272/robot2016/Control.java | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2016/Control.java b/src/org/usfirst/frc/team4272/robot2016/Control.java index d7eadf5..40fcb5a 100644 --- a/src/org/usfirst/frc/team4272/robot2016/Control.java +++ b/src/org/usfirst/frc/team4272/robot2016/Control.java @@ -1,9 +1,13 @@ package org.usfirst.frc.team4272.robot2016; public class Control { - double lDrive, rDrive, fBall, bBall, arm; + double lDrive1 = 0, + lDrive2 = 0, + rDrive1 = 0, + rDrive2 = 0, + fBall = 0, + bBall = 0, + arm = 0; - public Control() { - lDrive = rDrive = fBall = bBall = arm = 0; - } + public Control() {} } |