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

Commit

Permalink
fix: make the bot start with new auto
Browse files Browse the repository at this point in the history
  • Loading branch information
doinkythederp committed Dec 16, 2024
1 parent 2c8a5f1 commit 3702984
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/kotlin/com/frcteam3636/frc2024/Robot.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ object Robot : PatchedLoggedRobot() {
}
}

/** Status signals used to check the health of the robot's hardware */
val statusSignals = mutableMapOf<String, StatusSignal<*>>()

private var autoCommand: Command = Drivetrain.defer {
val xMagnitude = 5.6
val xOffset = if (DriverStation.getAlliance() == Optional.of(Alliance.Red)) {
Expand All @@ -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<String, StatusSignal<*>>()

override fun robotInit() {
// Report the use of the Kotlin Language for "FRC Usage Report" statistics
HAL.report(
Expand Down

0 comments on commit 3702984

Please sign in to comment.