# swervelib.motors
declaration: package: swervelib.motors

# Package swervelib.motors

package swervelib.motors
Swerve motor controller wrappers which implement `SwerveMotor`.

Related Packages
Package
Description
swervelib
Yet-Another Generic Swerve Library (YAGSL) main package AKA swervelib.
Class
Description
SparkFlexSwerve
An implementation of `CANSparkFlex` as a `SwerveMotor`.
SparkFlexSwerve.SparkMAX_slotIdx
REV Slots for PID configuration.
SparkMaxBrushedMotorSwerve
Brushed motor control with SparkMax.
SparkMaxSwerve
An implementation of `CANSparkMax` as a `SwerveMotor`.
SparkMaxSwerve.SparkMAX_slotIdx
REV Slots for PID configuration.
SwerveMotor
Swerve motor abstraction which defines a standard interface for motors within a swerve module.
TalonFXSwerve
`TalonFX` Swerve Motor.
TalonSRXSwerve
`WPI_TalonSRX` Swerve Motor.