diff --git a/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/slides/ElevatorSubsystem.kt b/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/slides/ElevatorSubsystem.kt index 63d49b6..e36427a 100644 --- a/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/slides/ElevatorSubsystem.kt +++ b/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/slides/ElevatorSubsystem.kt @@ -32,7 +32,7 @@ class ElevatorSubsystem( val clamped = if (slideAngle.invoke() < Math.toRadians(75.0)) clamp(value, 0.0, 20.0) else - value + clamp(value, 0.0, 30.0) controller.goal = TrapezoidProfile.State(clamped, 0.0) field = clamped