setModuleStates

public final Unit setModuleStates(Array<SwerveModuleState> states)

Sets the states of the swerve modules.

Parameters

states

The states of the swerve modules.