desaturate

abstract fun desaturate(maxPhysicalSpeed: Double): WheelVelocities<Param>

Desaturates wheel velocities to ensure none exceed the maximum physical speed.

Return

A new WheelVelocities instance with scaled velocities if necessary

Parameters

maxPhysicalSpeed

The maximum allowable wheel speed