0b8fa0755904bfe29ecefae66038f4e5e7bec95d
1 package org
.usfirst
.frc
.team3501
.robot
;
3 import org
.usfirst
.frc
.team3501
.robot
.commands
.*;
6 public 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 getForward() {
20 public double getTwist() {
21 return right
.getTwist();