From 37029844ff12451961d4c194584b76c6a0c1defc Mon Sep 17 00:00:00 2001 From: doinkythederp Date: Sun, 15 Dec 2024 17:02:24 -0800 Subject: [PATCH] fix: make the bot start with new auto --- src/main/kotlin/com/frcteam3636/frc2024/Robot.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt b/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt index 735e2bb..e527e35 100644 --- a/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt +++ b/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt @@ -70,6 +70,9 @@ object Robot : PatchedLoggedRobot() { } } + /** Status signals used to check the health of the robot's hardware */ + val statusSignals = mutableMapOf>() + private var autoCommand: Command = Drivetrain.defer { val xMagnitude = 5.6 val xOffset = if (DriverStation.getAlliance() == Optional.of(Alliance.Red)) { @@ -85,9 +88,6 @@ object Robot : PatchedLoggedRobot() { .andThen(Intake.intake() .alongWith(Indexer.outtakeBalloon())) - /** Status signals used to check the health of the robot's hardware */ - val statusSignals = mutableMapOf>() - override fun robotInit() { // Report the use of the Kotlin Language for "FRC Usage Report" statistics HAL.report(