# swervelib.encoders
declaration: package: swervelib.encoders

# Package swervelib.encoders

package swervelib.encoders
Absolute encoders for the swerve drive, all implement `SwerveAbsoluteEncoder`.

Related Packages
Package
Description
swervelib
Yet-Another Generic Swerve Library (YAGSL) main package AKA swervelib.
Classes
Class
Description
AnalogAbsoluteEncoderSwerve
Swerve Absolute Encoder for Thrifty Encoders and other analog encoders.
CanAndCoderSwerve
HELIUM `Canandcoder` from ReduxRobotics absolute encoder, attached through the CAN bus.
CANCoderSwerve
Swerve Absolute Encoder for CTRE CANCoders.
PWMDutyCycleEncoderSwerve
DutyCycle encoders such as "US Digital MA3 with PWM Output, the CTRE Mag Encoder, the Rev Hex Encoder, and the AM Mag Encoder." attached via a PWM lane.
SparkMaxAnalogEncoderSwerve
SparkMax absolute encoder, attached through the data port analog pin.
SparkMaxEncoderSwerve
SparkMax absolute encoder, attached through the data port.
SwerveAbsoluteEncoder
Swerve abstraction class to define a standard interface with absolute encoders for swerve modules..