Swerve Wheel
class SwerveWheel(driveMotor: GenericDriveMotor, turnMotor: GenericTurnMotor, drivePID: PIDController, turnPID: PIDController, configuration: SwerveModuleConfiguration)
A class representing a single swerve wheel (module). This contains the turning and driving motors.
Parameters
drive Motor
The motor to use for driving
turn Motor
The motor to use for turning
drive PID
The PID controller to use for driving
turn PID
The PID controller to use for turning
configuration
The configuration for this module
See also
Constructors
Link copied to clipboard
constructor(driveMotor: GenericDriveMotor, turnMotor: GenericTurnMotor, drivePID: PIDController, turnPID: PIDController, configuration: SwerveModuleConfiguration)