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

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

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

    Fields in frc.robot.subsystems.swervedrive.swerve declared as SwerveEncoder
    Modifier and Type | Field | Description
    --- | --- | ---
    `private SwerveEncoder<?>` | SwerveModule.`absoluteEncoder` | Absolute encoder for the swerve module.

    Methods in frc.robot.subsystems.swervedrive.swerve that return SwerveEncoder
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <AbsoluteEncoderType> SwerveEncoder<?>` | SwerveEncoder.`fromEncoder​(AbsoluteEncoderType encoder)` | Get the SwerveEncoder class from the given encoder types

    Methods in frc.robot.subsystems.swervedrive.swerve with parameters of type SwerveEncoder
    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.

  - ### Uses of SwerveEncoder in frc.robot.subsystems.swervedrive.swerve.encoders

    Subclasses of SwerveEncoder in frc.robot.subsystems.swervedrive.swerve.encoders
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `CTRECANCoder` |
    `class` | `PWMAnalogEncoder` |
    `class` | `PWMDutyCycleEncoder` |
    `class` | `REVAbsoluteEncoder` |

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

    Fields in frc.robot.subsystems.swervedrive.swerve.motors declared as SwerveEncoder
    Modifier and Type | Field | Description
    --- | --- | ---
    `private SwerveEncoder` | CTRESwerveMotor.`m_angleEncoder` |

    Constructors in frc.robot.subsystems.swervedrive.swerve.motors with parameters of type SwerveEncoder
    Constructor | Description
    --- | ---
    `CTRESwerveMotor​(com.ctre.phoenix.motorcontrol.can.WPI_TalonFX motor, SwerveEncoder<?> encoder, SwerveMotor.ModuleMotorType type, double gearRatio, double wheelDiameter, double freeSpeedRPM, double powerLimit)` |
    `REVSwerveMotor​(com.revrobotics.CANSparkMax motor, SwerveEncoder<?> absoluteEncoder, SwerveMotor.ModuleMotorType type, double gearRatio, double wheelDiameter, double freeSpeedRPM, double powerLimit)` | Constructor for REV Swerve Motor, expecting CANSparkMax.