d6344b77755b6bce6dce38f54d3b44462bb45c93
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 getForwardSpeed() {
20 public double getTwistSpeed() {
21 return right
.getTwist();