## Uses of Class
frc.robot.subsystems.swervedrive.swerve.SwerveModule.SwerveModuleLocation

- Packages that use SwerveModule.SwerveModuleLocation
  Package | Description
  --- | ---
  frc.robot.subsystems.swervedrive.swerve |

- - ### Uses of SwerveModule.SwerveModuleLocation in frc.robot.subsystems.swervedrive.swerve

    Fields in frc.robot.subsystems.swervedrive.swerve declared as SwerveModule.SwerveModuleLocation
    Modifier and Type | Field | Description
    --- | --- | ---
    `SwerveModule.SwerveModuleLocation` | SwerveDrive.SwerveModuleConfig.`loc` |
    `private SwerveModule.SwerveModuleLocation` | SwerveModule.`swerveLocation` | Enum representing the swerve module's location on the robot, assuming square.

    Methods in frc.robot.subsystems.swervedrive.swerve that return SwerveModule.SwerveModuleLocation
    Modifier and Type | Method | Description
    --- | --- | ---
    `static SwerveModule.SwerveModuleLocation` | SwerveModule.SwerveModuleLocation.`valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
    `static SwerveModule.SwerveModuleLocation[]` | SwerveModule.SwerveModuleLocation.`values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in frc.robot.subsystems.swervedrive.swerve with parameters of type SwerveModule.SwerveModuleLocation
    Modifier and Type | Method | Description
    --- | --- | ---
    `private static SwerveModule<?,​?,​?>` | SwerveParser.`createModule​(com.fasterxml.jackson.databind.JsonNode mainJson, java.io.File moduleFile, SwerveModule.SwerveModuleLocation moduleLocation)` | Create SwerveModule from JSON configuration file.
    `private edu.wpi.first.math.geometry.Translation2d` | SwerveModule.`getSwerveModulePosition​(SwerveModule.SwerveModuleLocation swerveLocation)` | Get the swerve module position in `Translation2d` from the enum passed.
    `static java.lang.String` | SwerveModule.`SwerveModuleLocationToString​(SwerveModule.SwerveModuleLocation swerveLocation)` | Convert `SwerveModule.SwerveModuleLocation` to `String` representation.

    Constructors in frc.robot.subsystems.swervedrive.swerve with parameters of type SwerveModule.SwerveModuleLocation
    Constructor | Description
    --- | ---
    `SwerveModule​(DriveMotorType mainMotor, AngleMotorType angleMotor, AbsoluteEncoderType encoder, SwerveModule.SwerveModuleLocation swervePosition, double driveGearRatio, double steerGearRatio, double steeringOffsetDegrees, double wheelDiameterMeters, double wheelBaseMeters, double driveTrainWidthMeters, double steeringMotorFreeSpeedRPM, double maxSpeedMPS, double maxDriveAcceleration, double drivingPowerLimit, double steeringPowerLimit, boolean steeringInverted, boolean drivingInverted)` | Swerve module constructor.
    `SwerveModuleConfig​(DriveMotorType driveMotor, SteeringMotorType steerMotor, AbsoluteEncoder encoderSteering, double offset, SwerveModule.SwerveModuleLocation location)` | Swerve Module configuration class to define the motor CAN IDs and absolute encoder offset of a swerve module.