From a3b380c1d00ddab7053a5f58128e0261e6720aa8 Mon Sep 17 00:00:00 2001 From: Isaac Thoman Date: Mon, 25 Mar 2024 09:39:28 -0400 Subject: [PATCH] rumble both on beam break --- src/main/java/frc/robot/StateControllerSub.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/frc/robot/StateControllerSub.java b/src/main/java/frc/robot/StateControllerSub.java index 8c5287f..946186c 100644 --- a/src/main/java/frc/robot/StateControllerSub.java +++ b/src/main/java/frc/robot/StateControllerSub.java @@ -354,14 +354,14 @@ public void updateRumbles(){ double bothRumbleVal = 0; double operatorRumbleVal = 0; - if(Timer.getFPGATimestamp() - timestampOfRumbleStart <0.3 && armState == ArmState.SPEAKER) - bothRumbleVal = 1; + //if(Timer.getFPGATimestamp() - timestampOfRumbleStart <0.3 && armState == ArmState.SPEAKER) + //bothRumbleVal = 1; if(readyToShoot && armState == ArmState.SPEAKER) operatorRumbleVal +=1; if(armState == ArmState.INTAKE && !beamBreak1.get()) - operatorRumbleVal+=1; + bothRumbleVal+=1; driver.getHID().setRumble(GenericHID.RumbleType.kBothRumble,bothRumbleVal);