BoomBoom is working, but the motors are spinning in opposite directions

This commit is contained in:
aarav18
2022-02-09 17:56:22 -07:00
parent 3e43b50f04
commit 0fedb240d7
4 changed files with 40 additions and 33 deletions
@@ -44,7 +44,7 @@ public class RobotContainer {
// );
private final LED m_robotLED = new LED(m_robotMap.LEDController);
private final BoomBoom m_robotBoomBoom = new BoomBoom();
private final BoomBoom m_robotBoomBoom = new BoomBoom(m_robotMap.shooterFalconLeft, m_robotMap.shooterFalconRight);
private final Hood m_robotHood = new Hood();
private final Turret m_robotTurret = new Turret();
private final Vision m_robotVison = new Vision(m_robotTurret, m_robotBoomBoom);
@@ -95,6 +95,8 @@ public class RobotContainer {
new JoystickButton(getOperatorJoystick(), XboxController.B_BUTTON)
.whenPressed(() -> m_robotBoomBoom.runDrumShooterVelocityPID(0.1))
.whenReleased(() -> m_robotBoomBoom.runDrumShooterVelocityPID(0));
/* Driver Buttons */
}
/**