Skip to content

Commit 6677c07

Browse files
committed
last changes
1 parent 2b517b0 commit 6677c07

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/main/kotlin/com/team4099/robot2026/subsystems/superstructure/Intake/Intake.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

src/main/kotlin/com/team4099/robot2026/subsystems/superstructure/Intake/IntakeIOSim.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import org.team4099.lib.units.derived.radians
2626
import org.team4099.lib.units.derived.volts
2727
import org.team4099.lib.units.perSecond
2828

29-
class IntakeIOSim(drivetrainSimulation: AbstractDriveTrainSimulation) : IntakeIO {
29+
object IntakeIOSim : IntakeIO {
3030

3131
private val armSim: SingleJointedArmSim =
3232
SingleJointedArmSim(

src/main/kotlin/com/team4099/robot2026/subsystems/superstructure/Intake/IntakeIOTalon.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)