MecanumKinematics
fun MecanumKinematics( trackWidth: Double, wheelbase: Double, lateralMultiplier: Double = 1.0)
Content copied to clipboard
Parameters
wheelbase
distance between wheels on the same side; see the diagram in MecanumKinematics
fun MecanumKinematics(trackWidth: Double, lateralMultiplier: Double = 1.0)
Content copied to clipboard
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