mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
fix rumble
This commit is contained in:
@@ -152,7 +152,7 @@ public class Robot extends LoggedRobot {
|
||||
public void teleopPeriodic() {
|
||||
var info = HubShiftTimer.getShiftInfo();
|
||||
|
||||
double rumble = (info.remainingInShift() < 5.) ? 1 : 0;
|
||||
double rumble = (info.remainingInShift() < 5. && info.remainingInShift() > 0.1) ? 1 : 0;
|
||||
|
||||
m_robotContainer.getDeadbandedDriverController().setRumble(RumbleType.kBothRumble, rumble);
|
||||
m_robotContainer.getDeadbandedOperatorController().setRumble(RumbleType.kBothRumble, rumble);
|
||||
|
||||
Reference in New Issue
Block a user