SwerveWheel

constructor(driveMotor: GenericDriveMotor, turnMotor: GenericTurnMotor, drivePID: PIDController, turnPID: PIDController, configuration: SwerveModuleConfiguration)

Parameters

driveMotor

The motor to use for driving

turnMotor

The motor to use for turning

drivePID

The PID controller to use for driving

turnPID

The PID controller to use for turning

configuration

The configuration for this module