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;
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,
turn90Right.whenPressed(new Turn90Right());
turn90Left.whenPressed(new Turn90Left());
readyShooter.whenPressed(new PrepareToShoot());
- shootButton.whenPressed(new Shoot());
}
public static OI getOI() {