Class SwerveModule

java.lang.Object
com.ctre.phoenix6.mechanisms.swerve.SwerveModule

public class SwerveModule
extends Object
Swerve Module class that encapsulates a swerve module powered by CTR Electronics devices.

This class handles the hardware devices and configures them for swerve module operation using the Phoenix 6 API.

This class constructs hardware devices internally, so the user only specifies the constants (IDs, PID gains, gear ratios, etc). Getters for these hardware devices are available.