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

Commit

Permalink
fix cone cube mode in alignment zone
Browse files Browse the repository at this point in the history
  • Loading branch information
PatribotsProgramming committed Oct 11, 2023
1 parent 759ad94 commit f6ab8bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,8 @@ else if (autoAlignment.getCurrentNorm() < (PlacementConstants.CONE_BASE_RADIUS)

if (claw.hasGameElement())
arduinoController.setLEDState(LEDConstants.BELLY_PAN_GREEN_BLINK);
else
arduinoController.setLEDState(AutoAlignment.coneMode ? LEDConstants.BELLY_PAN_YELLOW : LEDConstants.BELLY_PAN_PURPLE);

DriverUI.aligned = true;

Expand All @@ -622,6 +624,8 @@ else if (autoAlignment.getCurrentNorm() < (PlacementConstants.CONE_BASE_RADIUS)

if (claw.hasGameElement())
arduinoController.setLEDState(LEDConstants.BELLY_PAN_RED);
else
arduinoController.setLEDState(AutoAlignment.coneMode ? LEDConstants.BELLY_PAN_YELLOW : LEDConstants.BELLY_PAN_PURPLE);

DriverUI.aligned = false;

Expand Down

0 comments on commit f6ab8bd

Please sign in to comment.