package org.usfirst.frc.team3501.robot;
import org.usfirst.frc.team3501.robot.commands.driving.ChangeGear;
-import org.usfirst.frc.team3501.robot.commands.driving.ToggleCompressor;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.Button;
public static Button intakeBoulder;
public static Button shootBoulder;
public static Button toggleGear;
- public static Button toggleCompressor;
// button to change robot to the scaling mode
public static DigitalButton toggleScaling;
Constants.OI.RIGHT_JOYSTICK_TRIGGER_PORT);
toggleGear.toggleWhenPressed(new ChangeGear());
- toggleCompressor = new JoystickButton(rightJoystick,
- Constants.OI.TOGGLE_COMPRESSOR_PORT);
- toggleCompressor.whenPressed(new ToggleCompressor());
-
// passPortcullis = new DigitalButton(
// new DigitalInput(Constants.OI.PASS_PORTCULLIS_PORT));
// passPortcullis.whenPressed(new PassPortcullis());