maxAchievableVelocity

Calculates the maximum 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 maximum 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.