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

Commit

Permalink
fix(auto): Improve.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed Apr 18, 2024
1 parent bb3be56 commit e141c82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/cmp.center.4.auto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"type": "named",
"data": {
"name": "shootNoPull"
"name": "shoot"
}
},
{
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/frc/robot/superstructure/Superstructure.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ private Command shoot(SuperstructureState shot) {
}

private Command shootNoPull(SuperstructureState shot) {
return ready(shot).andThen(hold(shot));
return ready(shot)
.andThen(Commands.waitSeconds(SuperstructureConstants.READY_PAUSE_DURATION))
.andThen(hold(shot));
}

public Command subwooferNoPull() {
Expand Down

0 comments on commit e141c82

Please sign in to comment.