Added new SparkMAX analog encoder option, fixed 'none' absolute encoder type

This commit is contained in:
thenetworkgrinch
2023-12-05 16:25:42 -06:00
parent 04466ef81d
commit e0d572b5a5
126 changed files with 1012 additions and 343 deletions

View File

@@ -17,7 +17,7 @@ public class SwerveModuleConfiguration
* {@link swervelib.math.SwerveMath#calculateDegreesPerSteeringRotation(double, double)} respectively to calculate the
* conversion factors.
*/
public final MotorConfigDouble conversionFactors;
public final MotorConfigDouble conversionFactors;
/**
* Angle offset in degrees for the Swerve Module.
*/
@@ -79,6 +79,7 @@ public class SwerveModuleConfiguration
* @param velocityPIDF Velocity PIDF configuration.
* @param physicalCharacteristics Physical characteristics of the swerve module.
* @param name The name for the swerve module.
* @param conversionFactors Conversion factors to be applied to the drive and angle motors.
*/
public SwerveModuleConfiguration(
SwerveMotor driveMotor,