minAchievableVelocity

open fun minAchievableVelocity(maxVoltage: Measure<Voltage>, angle: Measure<Angle>, acceleration: Measure<Velocity<Velocity<Angle>>>): Measure<Velocity<Angle>>

Calculates the minimum achievable velocity given a maximum voltage supply, a position, 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 and angle.

Parameters

maxVoltage

The maximum voltage that can be supplied to the arm.

angle

The angle of the arm.

acceleration

The acceleration of the arm.