File tree Expand file tree Collapse file tree
src/main/kotlin/com/team4099/robot2026/subsystems/superstructure/Intake Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,8 +54,6 @@ class Intake(private val io: IntakeIO) : ControlledByStateMachine() {
5454
5555 CustomLogger .recordOutput(" Intake/isAtTargetedPosition" , isAtTargetedPosition)
5656
57- if (RobotBase .isSimulation()) {}
58-
5957 when (currentState) {
6058 IntakeState .UNINITIALIZED -> {
6159 nextState = fromRequestToState(currentRequest)
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import org.team4099.lib.units.derived.radians
2626import org.team4099.lib.units.derived.volts
2727import org.team4099.lib.units.perSecond
2828
29- class IntakeIOSim ( drivetrainSimulation : AbstractDriveTrainSimulation ) : IntakeIO {
29+ object IntakeIOSim : IntakeIO {
3030
3131 private val armSim: SingleJointedArmSim =
3232 SingleJointedArmSim (
Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ object IntakeIOTalon : IntakeIO {
5555 private var supplyCurrentSignal: StatusSignal <Current >
5656 private var positionSignal: StatusSignal <Angle >
5757
58- override val intakeSimulation: IntakeSimulation ? = null
59-
6058 init {
6159 intakeTalon.clearStickyFaults()
6260
You can’t perform that action at this time.
0 commit comments