MecanumDrive

constructor(motors: MotorGroup, constraints: MecanumConstraints, externalHeadingSensor: AngleSensor? = null)

Constructs a mecanum drive using constraints.


constructor(frontLeft: Motor, backLeft: Motor, backRight: Motor, frontRight: Motor, externalHeadingSensor: AngleSensor? = null, constraints: MecanumConstraints = MecanumConstraints(1.0, 1.0, 1.0, 1.0))

Constructs a mecanum drive from its individual motors.


constructor(motors: MotorGroup, trackWidth: Double = 1.0, wheelBase: Double = trackWidth, lateralMultiplier: Double = 1.0, externalHeadingSensor: AngleSensor? = null)