## Uses of Class
frc.robot.subsystems.swervedrive.swerve.SwerveMotor

- Packages that use SwerveMotor
  Package | Description
  --- | ---
  frc.robot.subsystems.swervedrive.swerve |
  frc.robot.subsystems.swervedrive.swerve.motors |

- - ### Uses of SwerveMotor in frc.robot.subsystems.swervedrive.swerve

    Fields in frc.robot.subsystems.swervedrive.swerve declared as SwerveMotor
    Modifier and Type | Field | Description
    --- | --- | ---
    `SwerveMotor` | SwerveModule.`driveMotor` | Motor Controllers for drive motor of the swerve module.
    `SwerveMotor` | SwerveModule.`turningMotor` | Motor Controller for the turning motor of the swerve drive module.

    Methods in frc.robot.subsystems.swervedrive.swerve that return SwerveMotor
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <MotorType extends edu.wpi.first.wpilibj.motorcontrol.MotorController> SwerveMotor` | SwerveMotor.`fromMotor​(MotorType motor, SwerveEncoder<?> absoluteEncoder, SwerveMotor.ModuleMotorType type, double gearRatio, double wheelDiameter, double freeSpeedRPM, double powerLimit)` | Constructor for Swerve Motor, expecting CANSparkMax or TalonFX.

    Methods in frc.robot.subsystems.swervedrive.swerve with parameters of type SwerveMotor
    Modifier and Type | Method | Description
    --- | --- | ---
    `private static void` | SwerveParser.`setModulePIDF​(SwerveMotor motor, com.fasterxml.jackson.databind.JsonNode jsonPIDF)` | Set the PIDF for the module if the given JSON has the paramters.

  - ### Uses of SwerveMotor in frc.robot.subsystems.swervedrive.swerve.motors

    Subclasses of SwerveMotor in frc.robot.subsystems.swervedrive.swerve.motors
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `CTRESwerveMotor` |
    `class` | `REVSwerveMotor` |