Skip to content

Commit

Permalink
Run alliance check every second while disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
viggy96 committed Jul 30, 2024
1 parent 346ea41 commit 123f7ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public Hardware(NavX2 navx,

// Set alliance if available
setAlliance(alliance.get());
}).andThen(Commands.waitSeconds(5)).ignoringDisable(true).repeatedly();
}).andThen(Commands.waitSeconds(1)).ignoringDisable(true).repeatedly();

public final Command ANTI_TIP_COMMAND = new FunctionalCommand(
() -> LEDSubsystem.getInstance().startOverride(Pattern.RED_STROBE),
Expand Down

0 comments on commit 123f7ce

Please sign in to comment.