Added fix for throughbore readings

This commit is contained in:
thenetworkgrinch
2024-08-24 17:48:05 -05:00
parent 73b253bce8
commit 5de1570643

View File

@@ -69,11 +69,10 @@ public class DeviceJson
return null;
case "integrated":
case "attached":
return new SparkMaxEncoderSwerve(motor, 1);
case "sparkmax_analog":
return new SparkMaxAnalogEncoderSwerve(motor, 3.3);
case "canandcoder":
return new SparkMaxEncoderSwerve(motor, 360);
case "sparkmax_analog":
return new SparkMaxAnalogEncoderSwerve(motor, 3.3);
case "canandcoder_can":
return new CanAndCoderSwerve(id);
case "ctre_mag":