Skip to content

Commit 423dded

Browse files
committed
Fix Fiveball auto LEDs.
1 parent 0c68e8d commit 423dded

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/frc/robot/Robot.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public void autonomousPeriodic() {
146146
public void teleopInit() {
147147

148148
Status.getInstance().setTeleopStartTime();
149-
new SetColor(Status.getInstance(), Color.kBlack).schedule();
149+
new SetColor(Status.getInstance(), Color.kBlack).andThen(new IdleCommand()).schedule();
150150

151151
// new SetColor(Status.getInstance(), Color.kDarkOrchid).schedule();
152152
// new ActionCommand(new ScannerAction(245, 0, 255, 200)).schedule();
@@ -164,7 +164,7 @@ public void teleopInit() {
164164
// .andThen(new WaitCommand(5))
165165
// .schedule();
166166

167-
new IdleCommand().schedule();
167+
168168

169169
// This makes sure that the autonomous stops running when
170170
// teleop starts running. If you want the autonomous to

src/main/java/frc/robot/auto/groups/FiveBallAuto.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public FiveBallAuto(Drivetrain drive, Intake intake, Shooter shooter) {
4343
new WaitCommand(1.0), // Give shooter time to spin up & hood to move
4444
new PullTrigger(shooter),
4545
new WaitCommand(0.5)),
46-
new ActionCommand(new ImageAction("THFade.png", 0.02).brightness(0.7)),
46+
new ActionCommand(new ImageAction("THfade.png", 0.01).brightness(0.7)),
4747
new TrajectoryFollower(drive, new FiveBallPartOne()), // Turn to point at center
4848
new FlywheelController(shooter, 1810, 77.90)),
4949
new ParallelDeadlineGroup(

0 commit comments

Comments
 (0)