From 162bbac7bcd317e34ede70bf08cac8cea94a23da Mon Sep 17 00:00:00 2001 From: "Keenan D. Buckley" Date: Sat, 18 Jan 2020 12:47:49 -0700 Subject: [PATCH] Update RobotContainer.java --- src/main/java/frc4388/robot/RobotContainer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index 8f58f44..73937ee 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -80,7 +80,7 @@ public class RobotContainer { /* PID Test Command */ new JoystickButton(getDriverJoystick(), XboxController.B_BUTTON) - .whenPressed(new DriveToDistancePID(m_robotDrive, 5000)); + .whenPressed(new DriveToDistancePID(m_robotDrive, 40000)); new JoystickButton(getDriverJoystick(), XboxController.X_BUTTON) .whenPressed(new DriveToDistanceMM(m_robotDrive, 5000)); @@ -88,8 +88,8 @@ public class RobotContainer { new JoystickButton(getDriverJoystick(), XboxController.Y_BUTTON) .whenPressed(new DriveAtVelocityPID(m_robotDrive, 2000)); - //new JoystickButton(getDriverJoystick(), XboxController.LEFT_JOYSTICK_BUTTON) - //.whenPressed(new InstantCommand(null, m_robotDrive)); + new JoystickButton(getDriverJoystick(), XboxController.LEFT_JOYSTICK_BUTTON) + .whenPressed(new InstantCommand(() -> System.err.print("interrupt"), m_robotDrive)); } /**