From 7a5aa112156183f12cfb57704784d74134ac6f79 Mon Sep 17 00:00:00 2001 From: aarav18 Date: Mon, 28 Feb 2022 18:58:46 -0700 Subject: [PATCH] merge change 1 --- src/main/java/frc4388/robot/RobotContainer.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index bc0c544..a44b32b 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -34,21 +34,7 @@ import frc4388.utility.controller.XboxController; public class RobotContainer { /* RobotMap */ private final RobotMap m_robotMap = new RobotMap(); - private final TalonFX m_testMotor = new TalonFX(2); - /* - * Subsystems - * private final SwerveDrive m_robotSwerveDrive = new SwerveDrive( - * m_robotMap.leftFrontSteerMotor, m_robotMap.leftFrontWheelMotor, - * m_robotMap.rightFrontSteerMotor, m_robotMap.rightFrontWheelMotor, - * m_robotMap.leftBackSteerMotor, m_robotMap.leftBackWheelMotor, - * m_robotMap.rightBackSteerMotor, m_robotMap.rightBackWheelMotor, - * m_robotMap.leftFrontEncoder, - * m_robotMap.rightFrontEncoder, - * m_robotMap.leftBackEncoder, - * m_robotMap.rightBackEncoder - * ); - */ private final LED m_robotLED = new LED(m_robotMap.LEDController); private final BoomBoom m_robotBoomBoom = new BoomBoom(m_robotMap.shooterFalconLeft, m_robotMap.shooterFalconRight); private final Hood m_robotHood = new Hood(); @@ -106,9 +92,6 @@ public class RobotContainer { /* Operator Buttons */ // activates "Lit Mode" - new JoystickButton(getDriverJoystick(), XboxController.A_BUTTON) - .whileHeld(() -> m_testMotor.set(TalonFXControlMode.PercentOutput, 0.5)); - new JoystickButton(getOperatorJoystick(), XboxController.A_BUTTON) .whenPressed(() -> m_robotLED.setPattern(LEDPatterns.LAVA_RAINBOW)) .whenReleased(() -> m_robotLED.setPattern(LEDConstants.DEFAULT_PATTERN));