58781e3b038ea24db01c3967b1d9c7f26814a941
1 package org
.usfirst
.frc
.team3501
.robot
;
3 import org
.usfirst
.frc
.team3501
.robot
.commands
.*;
6 private Joystick left
, right
;
9 left
= new Joystick(RobotMap
.LEFT_JOYSTICK_PORT
);
10 right
= new Joystick(RobotMap
.RIGHT_JOYSTICK_PORT
);
12 right
.whenPressed(1, new CloseClaw());
13 right
.whenReleased(1, new OpenClaw());
15 right
.whenPressed(11, new TurnOffCompressor());
16 right
.whenPressed(12, new TurnOffCompressor());
18 right
.whenPressed(7, new TurnOnCompressor());
19 right
.whenPressed(8, new TurnOnCompressor());
22 public double getForwardL() {
26 public double getForwardR() {
30 public double getTwistR() {
31 return right
.getTwist();