minAchievableVelocity

open fun minAchievableVelocity(maxVoltage: Double, acceleration: Double): Double

Calculates the minimum achievable velocity given a maximum voltage supply and an acceleration. Useful for ensuring that velocity and acceleration constraints for a trapezoidal profile are simultaneously achievable - enter the acceleration constraint, and this will give you a simultaneously-achievable velocity constraint.

Return

The minimum possible velocity at the given acceleration.

Parameters

maxVoltage

The maximum voltage that can be supplied to the motor.

acceleration

The acceleration of the motor.