This repository was archived by the owner on Oct 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/main/kotlin/com/frcteam3636/frc2025 Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ object Dashboard {
2828
2929enum class AutoModes (val autoName : String , val developerAuto : Boolean = false , val sideRequired : Boolean = true ) {
3030 None (" None" , sideRequired = false ),
31+ OneAlgae (" One Algae" ),
32+ TwoAlgae (" Two Algae" ),
3133 OnePieceCoral (" One Piece Coral" ),
3234 TwoPieceCoral (" Two Piece Coral" ),
3335 ThreePieceCoral (" Three Piece Coral" ),
Original file line number Diff line number Diff line change @@ -303,6 +303,8 @@ object Robot : LoggedRobot() {
303303 lastSelectedAuto = selectedAuto
304304 lastSelectedStartingPosition = startingPosition
305305 autoCommand = when (selectedAuto) {
306+ AutoModes .OneAlgae -> OneAlgae (startingPosition).autoSequence()
307+ AutoModes .TwoAlgae -> TwoAlgae (startingPosition).autoSequence()
306308 AutoModes .OnePieceCoral -> OnePieceCoral (startingPosition).autoSequence()
307309 AutoModes .TwoPieceCoral -> TwoPieceCoral (startingPosition).autoSequence()
308310 AutoModes .ThreePieceCoral -> ThreePieceCoral (startingPosition).autoSequence()
@@ -320,6 +322,8 @@ object Robot : LoggedRobot() {
320322 val selectedAuto = lastSelectedAuto
321323 startingPosition = determineStartingPosition()
322324 autoCommand = when (selectedAuto) {
325+ AutoModes .OneAlgae -> OneAlgae (startingPosition).autoSequence()
326+ AutoModes .TwoAlgae -> TwoAlgae (startingPosition).autoSequence()
323327 AutoModes .OnePieceCoral -> OnePieceCoral (startingPosition).autoSequence()
324328 AutoModes .TwoPieceCoral -> TwoPieceCoral (startingPosition).autoSequence()
325329 AutoModes .ThreePieceCoral -> ThreePieceCoral (startingPosition).autoSequence()
You can’t perform that action at this time.
0 commit comments