Skip to content

Commit c7c6a93

Browse files
author
Prog694
committed
Fix GC auto, default CBA
1 parent d6a9385 commit c7c6a93

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/main/java/com/stuypulse/robot/RobotContainer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public void configureAutons() {
387387
ReroutableCBAED.registerBlue(autonChooser);
388388
ReroutableCBAED_RED.registerRed(autonChooser);
389389

390-
CBA.registerBlue(autonChooser);
390+
CBA.registerDefaultBlue(autonChooser);
391391
CBA_RED.registerRed(autonChooser);
392392

393393
CBF.registerBlue(autonChooser)
@@ -396,7 +396,7 @@ public void configureAutons() {
396396
ReroutableCBAEF.registerBlue(autonChooser)
397397
.registerRed(autonChooser);
398398

399-
GC.registerDefaultBlue(autonChooser);
399+
GC.registerBlue(autonChooser);
400400
GC_RED.registerRed(autonChooser);
401401

402402
SmartDashboard.putData("Autonomous", autonChooser);

src/main/java/com/stuypulse/robot/commands/auton/HGF/ThreePieceGC.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,16 @@ public ThreePieceGC(PathPlannerPath... paths) {
2222
.andThen(new ShooterPodiumShot()),
2323

2424
SwerveDriveToPose.speakerRelative(-55)
25-
.withTolerance(0.1, 0.1, 2)
25+
.withTolerance(0.05, 0.05, 2)
2626
),
2727

2828
new ShooterWaitForTarget()
2929
.withTimeout(0.25),
30-
ConveyorShootRoutine.untilNoteShot(0.75),
30+
ConveyorShootRoutine.untilNoteShot(1.75),
3131

3232
new FollowPathAndIntake(paths[0]),
33-
new FollowPathAlignAndShoot(paths[1], SwerveDriveToPose.speakerRelative(-45)),
33+
new FollowPathAlignAndShoot(paths[1], SwerveDriveToPose.speakerRelative(-45)
34+
.withTolerance(0.05, 0.05, 5)),
3435

3536
new FollowPathAndIntake(paths[2]),
3637
new SwerveDriveToShoot()

0 commit comments

Comments
 (0)