package org.usfirst.frc.team3501.robot;
-
-
-import org.usfirst.frc.team3501.robot.commands.driving.ToggleGear;
-=======
import org.usfirst.frc.team3501.robot.commands.accessories.ToggleCameraFeed;
->>>>>>> added command for toggling camera feeds
-=======
-import org.usfirst.frc.team3501.robot.commands.accessories.ToggleCameraFeed;
->>>>>>> cb0f662264528bcb0d783fcb00db22eb8d4f4283
+import org.usfirst.frc.team3501.robot.commands.driving.ToggleGear;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.Button;
public static Button toggleCameraFeeds;
- public static Button toggleCameraFeeds;
-
public static Button toggleGear;
public OI() {
toggleFlyWheel = new JoystickButton(leftJoystick,
Constants.OI.TOGGLE_FLYWHEEL_PORT);
-
toggleGear = new JoystickButton(leftJoystick,
Constants.OI.TOGGLE_GEAR_PORT);
toggleGear.whenPressed(new ToggleGear());
-
- toggleCameraFeeds = new JoystickButton(leftJoystick, Constants.OI.TOGGLE_CAMERA_FEEDS);
+ toggleCameraFeeds = new JoystickButton(leftJoystick,
+ Constants.OI.TOGGLE_CAMERA_FEEDS);
toggleCameraFeeds.whenReleased(new ToggleCameraFeed());
-
-
- toggleCameraFeeds = new JoystickButton(leftJoystick, Constants.OI.TOGGLE_CAMERA_FEEDS);
+ toggleCameraFeeds = new JoystickButton(leftJoystick,
+ Constants.OI.TOGGLE_CAMERA_FEEDS);
toggleCameraFeeds.whenReleased(new ToggleCameraFeed());