Skip to content
This repository was archived by the owner on May 19, 2024. It is now read-only.

Commit edf8abf

Browse files
committed
fix(auto): Add timeouts to auto.
1 parent 2594d21 commit edf8abf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

simgui.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
0.0,
196196
0.8500000238418579
197197
],
198-
"height": 0,
198+
"height": 338,
199199
"series": [
200200
{
201201
"color": [

src/main/java/frc/robot/auto/Auto.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ private Auto() {
7272
swerve);
7373

7474
NamedCommands.registerCommand("stow", superstructure.stow());
75-
NamedCommands.registerCommand("shoot", Commands.deadline(Commands.waitSeconds(3.0), superstructure.speaker()));
76-
NamedCommands.registerCommand("intake", superstructure.intake());
75+
NamedCommands.registerCommand("shoot", superstructure.speaker().withTimeout(1.5));
76+
NamedCommands.registerCommand("intake", superstructure.intake().withTimeout(1.5));
7777

7878
autoChooser = AutoBuilder.buildAutoChooser();
7979
}

0 commit comments

Comments
 (0)