core / com.acmerobotics.roadrunner.drive / MecanumDrive / <init>

<init>

MecanumDrive(kV: Double, kA: Double, kStatic: Double, trackWidth: Double, wheelBase: Double = trackWidth, lateralMultiplier: Double = 1.0)

This class provides the basic functionality of a mecanum drive using MecanumKinematics.

Parameters

kV - velocity feedforward

kA - acceleration feedforward

kStatic - additive constant feedforward

trackWidth - lateral distance between pairs of wheels on different sides of the robot

wheelBase - distance between pairs of wheels on the same side of the robot

lateralMultiplier - lateral multiplier