DriveKinematics

Converts raw drive input into a drivetrain-specific output.

Each drivetrain type (mecanum, tank, etc.) implements this with its own Output type

Type Parameters

Output

The type produced by this drivetrain's kinematics — e.g. MecanumWheelPowers, TankWheelPowers, or a list of swerve module states.

Inheritors

Functions

Link copied to clipboard
abstract fun calculate(input: DriveInput): Output

Converts input into this drivetrain's output type.