maxAchievableAcceleration

fun maxAchievableAcceleration(maxVoltage: Double, velocity: Double): Double(source)

Calculates the maximum achievable acceleration given voltage and velocity constraints.

Return

The maximum acceleration achievable under these constraints.

Parameters

maxVoltage

The maximum voltage (or output) available.

velocity

The current or desired velocity.