6a245583c57421768c4c10482d3803cac2d228f4
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());
16 public double getForwardL() {
20 public double getForwardR() {
24 public double getTwistR() {
25 return right
.getTwist();