diff --git a/src/main/java/frc/subsystem/elevator/ElevatorIOTalonFX.java b/src/main/java/frc/subsystem/elevator/ElevatorIOTalonFX.java index d0dcfec..2f6bca1 100644 --- a/src/main/java/frc/subsystem/elevator/ElevatorIOTalonFX.java +++ b/src/main/java/frc/subsystem/elevator/ElevatorIOTalonFX.java @@ -75,7 +75,7 @@ public ElevatorIOTalonFX() { followMotor.setControl(new Follower(leadMotor.getDeviceID(), false)); } - public void setPosition(Constants.ElevatorPosition targetPosition){ + public void setPosition(Constants.ElevatorPosition targetPosition) { leadMotor.setControl(motionMagicRequest.withPosition(targetPosition.positionLocationInches / Constants.ELEVATOR_INCHES_PER_ROTATION).withSlot(0)); }