diff options
author | kartofen <mladenovnasko0@gmail.com> | 2024-03-08 22:15:35 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2024-03-08 22:15:35 +0200 |
commit | 4a494bf31593d7e30e2aa360a7baa60b8779958e (patch) | |
tree | df97a89617d1de2d373e2cc62ba97e682d661ebc /src/main/java/frc/robot/subsystems/Chain.java | |
parent | 01d6a7ef435dd9f6835fc3916a7f623395288490 (diff) |
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) |