public final static int LEFT_STICK_PORT = 0;
public final static int RIGHT_STICK_PORT = 1;
public final static int TOGGLE_WINCH_PORT = 0;
+
+ public final static int TOGGLE_FLYWHEEL_PORT = 0;
+ public final static int TOGGLE_INDEXWHEEL_PORT = 0;
}
public static class DriveTrain {
public static Joystick rightJoystick;
public static Button toggleWinch;
+ public static Button toggleIndexWheel;
+ public static Button toggleFlyWheel;
+
public OI() {
leftJoystick = new Joystick(Constants.OI.LEFT_STICK_PORT);
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,
+ Constants.OI.TOGGLE_FLYWHEEL_PORT);
+
}
public static OI getOI() {