Added some commmands for the buttons that were created
authorTrevor <tr89on@gmail.com>
Fri, 27 Jan 2017 05:15:41 +0000 (21:15 -0800)
committerTrevor <tr89on@gmail.com>
Tue, 31 Jan 2017 03:13:50 +0000 (19:13 -0800)
src/org/usfirst/frc/team3501/robot/OI.java

index 2a67d9b4dc0d5700d09f50fbebe66f865303a23b..9c1731db37ee72b5fec61424a8ad73f9f9a6dd8d 100644 (file)
@@ -1,7 +1,6 @@
 package org.usfirst.frc.team3501.robot;
 
 import org.usfirst.frc.team3501.robot.commandgroups.PrepareToShoot;
-import org.usfirst.frc.team3501.robot.commandgroups.Shoot;
 import org.usfirst.frc.team3501.robot.commands.driving.ToggleGear;
 import org.usfirst.frc.team3501.robot.commands.driving.Turn90Left;
 import org.usfirst.frc.team3501.robot.commands.driving.Turn90Right;
@@ -37,7 +36,6 @@ public class OI {
     rightJoystick = new Joystick(Constants.OI.RIGHT_STICK_PORT);
     toggleWinch = new JoystickButton(leftJoystick,
         Constants.OI.TOGGLE_WINCH_PORT);
-
     toggleIndexWheel = new JoystickButton(leftJoystick,
         Constants.OI.TOGGLE_INDEXWHEEL_PORT);
     toggleFlyWheel = new JoystickButton(leftJoystick,
@@ -71,7 +69,6 @@ public class OI {
     turn90Right.whenPressed(new Turn90Right());
     turn90Left.whenPressed(new Turn90Left());
     readyShooter.whenPressed(new PrepareToShoot());
-    shootButton.whenPressed(new Shoot());
   }
 
   public static OI getOI() {