From 4a494bf31593d7e30e2aa360a7baa60b8779958e Mon Sep 17 00:00:00 2001 From: kartofen Date: Fri, 8 Mar 2024 22:15:35 +0200 Subject: minor subsystem changes --- src/main/java/frc/robot/subsystems/Chain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/frc/robot/subsystems/Chain.java') diff --git a/src/main/java/frc/robot/subsystems/Chain.java b/src/main/java/frc/robot/subsystems/Chain.java index 3ee7108..0e67c7e 100644 --- a/src/main/java/frc/robot/subsystems/Chain.java +++ b/src/main/java/frc/robot/subsystems/Chain.java @@ -36,7 +36,7 @@ public class Chain extends SubsystemBase double pid_out = m_pid.calculate(m_encoder.getDistance(), perc); Logger.recordOutput(getName() + "/pidOUt", pid_out); - m_motor.setVoltage(MathUtil.clamp(pid_out, -6, 6)); + m_motor.setVoltage(MathUtil.clamp(pid_out, -11, 11)); } public boolean isAtPosition(double pos) -- cgit v1.2.3