MecanumKinematics
data class MecanumKinematics(val trackWidth: <Error class: unknown class>, val lateralMultiplier: <Error class: unknown class> = 1.0) : RobotKinematics<MecanumKinematics.MecanumWheelIncrements<*>, WheelVelocities<*>>
Parameters
trackWidth
distance between wheels on opposite sides; see the diagram below
lateralMultiplier
factor that multiplies strafe velocity to compensate for slip; increase it to boost the distance traveled in the strafe direction
Constructors
Functions
Link copied to clipboard
open fun <Param> forward(w: MecanumKinematics.MecanumWheelIncrements<*>): <Error class: unknown class><Param>
abstract fun <Param : DualParameter> forward(w: MecanumKinematics.MecanumWheelIncrements<*>): Twist2dDual<Param>
Link copied to clipboard
Performs inverse kinematics: computes wheel velocities required to achieve the desired robot velocity.