Mecanum Kinematics
data class MecanumKinematics @JvmOverloads constructor(val trackWidth: Double, val lateralMultiplier: Double = 1.0) : RobotKinematics<MecanumKinematics.MecanumWheelIncrements<*>, WheelVelocities<*>>
Parameters
track Width
distance between wheels on opposite sides; see the diagram below 
lateral Multiplier
factor that multiplies strafe velocity to compensate for slip; increase it to boost the distance traveled in the strafe direction
Functions
Link copied to clipboard
open override fun <Param> forward(w: MecanumKinematics.MecanumWheelIncrements<*>): Twist2dDual<Param>
Link copied to clipboard
open override fun <Param> inverse(t: PoseVelocity2dDual<Param>): MecanumKinematics.MecanumWheelVelocities<Param>
Performs inverse kinematics: computes wheel velocities required to achieve the desired robot velocity.