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

<init>

TankDrive(kV: Double, kA: Double, kStatic: Double, trackWidth: Double)

This class provides the basic functionality of a tank/differential drive using TankKinematics.

Parameters

kV - velocity feedforward

kA - acceleration feedforward

kStatic - additive constant feedforward

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