Swerve calibration

This commit is contained in:
Michael Mikovsky
2025-03-06 19:55:26 -07:00
parent 85965a892a
commit 5ae62c89e5
6 changed files with 112 additions and 43 deletions
@@ -302,7 +302,7 @@ public class Elevator extends Subsystem {
if(endeffectorVelocity < ElevatorConstants.SAFETY_ENDEFFECTOR_MIN_VELOCITY && endeffectorTorque > ElevatorConstants.SAFETY_ENDEFFECTOR_MAX_TORQUE ){
PIDPosition(elevatorMotor, endeffectorMotor.getPosition().getValueAsDouble());
PIDPosition(endeffectorMotor, endeffectorMotor.getPosition().getValueAsDouble());
}
// This method will be called once per scheduler run