diff options
Diffstat (limited to 'src/main/java/frc/robot/subsystems/Chain.java')
-rw-r--r-- | src/main/java/frc/robot/subsystems/Chain.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) |