maxAchievableVelocity

fun maxAchievableVelocity(maxVoltage: Double, acceleration: Double): Double(source)

Calculates the maximum achievable velocity given voltage and acceleration constraints.

Return

The maximum velocity achievable under these constraints.

Parameters

maxVoltage

The maximum voltage (or output) available.

acceleration

The current or desired acceleration.