Skip to content

Commit

Permalink
remove unnecessary getSwerveModules() from RobotContainer.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
00magikarp committed Jul 6, 2024
1 parent 164e7a9 commit 5b74b1b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/main/kotlin/com/team4099/robot2023/RobotContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import com.team4099.robot2023.subsystems.drivetrain.Drivetrain
import com.team4099.robot2023.subsystems.drivetrain.gyro.GyroIO
import com.team4099.robot2023.subsystems.drivetrain.gyro.GyroIOPigeon2
import com.team4099.robot2023.subsystems.drivetrain.swervemodule.SwerveModule
import com.team4099.robot2023.subsystems.drivetrain.swervemodule.SwerveModuleIO
import com.team4099.robot2023.subsystems.drivetrain.swervemodule.SwerveModuleIOSim
import com.team4099.robot2023.subsystems.drivetrain.swervemodule.SwerveModuleIOTalon
import com.team4099.robot2023.subsystems.elevator.Elevator
Expand Down Expand Up @@ -214,27 +213,6 @@ object RobotContainer {
superstructure.currentRequest = Request.SuperstructureRequest.Idle()
}

fun getSwerveModules(): List<SwerveModule> {
return listOf(
SwerveModule(
object : SwerveModuleIO {
override val label = "Front Left Wheel"
}),
SwerveModule(
object : SwerveModuleIO {
override val label = "Front Right Wheel"
}),
SwerveModule(
object : SwerveModuleIO {
override val label = "Back Left Wheel"
}),
SwerveModule(
object : SwerveModuleIO {
override val label = "Back Right Wheel"
})
)
}

fun mapTeleopControls() {
limelight.limelightState = LimelightVision.LimelightStates.TARGETING_GAME_PIECE

Expand Down

0 comments on commit 5b74b1b

Please sign in to comment.