|
14 | 14 | import org.usfirst.frc.team199.Robot2018.commands.OuttakeCube; |
15 | 15 | import org.usfirst.frc.team199.Robot2018.commands.PIDMove; |
16 | 16 | import org.usfirst.frc.team199.Robot2018.commands.PIDTurn; |
17 | | -import org.usfirst.frc.team199.Robot2018.commands.RaiseIntake; |
18 | 17 | import org.usfirst.frc.team199.Robot2018.commands.ResetEncoders; |
19 | 18 | import org.usfirst.frc.team199.Robot2018.commands.RunLift; |
20 | 19 | import org.usfirst.frc.team199.Robot2018.commands.SetDistancePerPulse; |
@@ -96,18 +95,18 @@ public OI() { |
96 | 95 | moveLiftUpButton.whileHeld(new RunLift(Robot.lift, true)); |
97 | 96 | moveLiftDownButton.whileHeld(new RunLift(Robot.lift, false)); |
98 | 97 |
|
99 | | - manipulator = new Joystick(2); |
100 | | - closeIntakeButton = new JoystickButton(manipulator, getButton("Close Intake Button", 1)); |
101 | | - closeIntakeButton.whenPressed(new CloseIntake()); |
102 | | - openIntakeButton = new JoystickButton(manipulator, getButton("Open Intake Button", 2)); |
103 | | - openIntakeButton.whenPressed(new OpenIntake()); |
104 | | - raiseIntakeButton = new JoystickButton(manipulator, getButton("Raise Intake Button", 3)); |
105 | | - raiseIntakeButton.whenPressed(new RaiseIntake()); |
106 | | - lowerIntakeButton = new JoystickButton(manipulator, getButton("Lower Intake Button", 4)); |
107 | | - lowerIntakeButton.whenPressed(new LowerIntake()); |
108 | | - intakeCubeButton = new JoystickButton(manipulator, getButton("Intake Button", 5)); |
109 | | - intakeCubeButton.whenPressed(new IntakeCube()); |
110 | | - outtakeCubeButton = new JoystickButton(manipulator, getButton("Outake Button", 6)); |
111 | | - outtakeCubeButton.whenPressed(new OuttakeCube()); |
| 98 | +// manipulator = new Joystick(2); |
| 99 | +// closeIntakeButton = new JoystickButton(manipulator, getButton("Close Intake Button", 1)); |
| 100 | +// closeIntakeButton.whenPressed(new CloseIntake()); |
| 101 | +// openIntakeButton = new JoystickButton(manipulator, getButton("Open Intake Button", 2)); |
| 102 | +// openIntakeButton.whenPressed(new OpenIntake()); |
| 103 | +// raiseIntakeButton = new JoystickButton(manipulator, getButton("Raise Intake Button", 3)); |
| 104 | +// raiseIntakeButton.whenPressed(new RaiseIntake()); |
| 105 | +// lowerIntakeButton = new JoystickButton(manipulator, getButton("Lower Intake Button", 4)); |
| 106 | +// lowerIntakeButton.whenPressed(new LowerIntake()); |
| 107 | +// intakeCubeButton = new JoystickButton(manipulator, getButton("Intake Button", 5)); |
| 108 | +// intakeCubeButton.whenPressed(new IntakeCube()); |
| 109 | +// outtakeCubeButton = new JoystickButton(manipulator, getButton("Outtake Button", 6)); |
| 110 | +// outtakeCubeButton.whenPressed(new OuttakeCube()); |
112 | 111 | } |
113 | 112 | } |
0 commit comments