mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Upgrading to 2025.1.0
This commit is contained in:
@@ -3,7 +3,7 @@ package swervelib.parser;
|
||||
import edu.wpi.first.math.geometry.Translation2d;
|
||||
import swervelib.encoders.SwerveAbsoluteEncoder;
|
||||
import swervelib.motors.SwerveMotor;
|
||||
import swervelib.parser.json.MotorConfigDouble;
|
||||
import swervelib.parser.json.modules.ConversionFactorsJson;
|
||||
|
||||
/**
|
||||
* Swerve Module configuration class which is used to configure {@link swervelib.SwerveModule}.
|
||||
@@ -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 ConversionFactorsJson conversionFactors;
|
||||
/**
|
||||
* Angle offset in degrees for the Swerve Module.
|
||||
*/
|
||||
@@ -89,7 +89,7 @@ public class SwerveModuleConfiguration
|
||||
public SwerveModuleConfiguration(
|
||||
SwerveMotor driveMotor,
|
||||
SwerveMotor angleMotor,
|
||||
MotorConfigDouble conversionFactors,
|
||||
ConversionFactorsJson conversionFactors,
|
||||
SwerveAbsoluteEncoder absoluteEncoder,
|
||||
double angleOffset,
|
||||
double xMeters,
|
||||
@@ -139,7 +139,7 @@ public class SwerveModuleConfiguration
|
||||
public SwerveModuleConfiguration(
|
||||
SwerveMotor driveMotor,
|
||||
SwerveMotor angleMotor,
|
||||
MotorConfigDouble conversionFactors,
|
||||
ConversionFactorsJson conversionFactors,
|
||||
SwerveAbsoluteEncoder absoluteEncoder,
|
||||
double angleOffset,
|
||||
double xMeters,
|
||||
|
||||
Reference in New Issue
Block a user