getState

public SwerveModuleState getState()

Gets the current state of the swerve module.

Return

SwerveModuleState, The current state of the swerve module, including the angle and speed.