calculate Rotation Prioritised Powers
open fun calculateRotationPrioritisedPowers(speedX: Double, speedY: Double, speedR: Double): Array<Double>
Calculate Mecanum drive powers with rotational prioritisation.
Return
an array of new motor powers in the order of front left, front right, back left, back right
Parameters
speed X
Cartesian speed in the X direction
speed Y
Cartesian speed in the Y direction
speed R
Speed of rotation, clockwise positive