Skip to content

Commit

Permalink
Fix GC auto, default CBA
Browse files Browse the repository at this point in the history
  • Loading branch information
Prog694 committed Apr 20, 2024
1 parent d6a9385 commit c7c6a93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/stuypulse/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public void configureAutons() {
ReroutableCBAED.registerBlue(autonChooser);
ReroutableCBAED_RED.registerRed(autonChooser);

CBA.registerBlue(autonChooser);
CBA.registerDefaultBlue(autonChooser);
CBA_RED.registerRed(autonChooser);

CBF.registerBlue(autonChooser)
Expand All @@ -396,7 +396,7 @@ public void configureAutons() {
ReroutableCBAEF.registerBlue(autonChooser)
.registerRed(autonChooser);

GC.registerDefaultBlue(autonChooser);
GC.registerBlue(autonChooser);
GC_RED.registerRed(autonChooser);

SmartDashboard.putData("Autonomous", autonChooser);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ public ThreePieceGC(PathPlannerPath... paths) {
.andThen(new ShooterPodiumShot()),

SwerveDriveToPose.speakerRelative(-55)
.withTolerance(0.1, 0.1, 2)
.withTolerance(0.05, 0.05, 2)
),

new ShooterWaitForTarget()
.withTimeout(0.25),
ConveyorShootRoutine.untilNoteShot(0.75),
ConveyorShootRoutine.untilNoteShot(1.75),

new FollowPathAndIntake(paths[0]),
new FollowPathAlignAndShoot(paths[1], SwerveDriveToPose.speakerRelative(-45)),
new FollowPathAlignAndShoot(paths[1], SwerveDriveToPose.speakerRelative(-45)
.withTolerance(0.05, 0.05, 5)),

new FollowPathAndIntake(paths[2]),
new SwerveDriveToShoot()
Expand Down

0 comments on commit c7c6a93

Please sign in to comment.