maxVelocityFromVoltage

fun maxVelocityFromVoltage(availableVoltage: Double, kV: Double): Double

Calculates the maximum velocity achievable with the given voltage and motor constants.

Return

Maximum achievable velocity

Parameters

availableVoltage

The voltage available for velocity (after accounting for kS)

kV

Velocity constant