core / com.acmerobotics.roadrunner.drive / SwerveDrive / setDriveSignal

setDriveSignal

open fun setDriveSignal(driveSignal: DriveSignal): Unit

Overrides Drive.setDriveSignal

Sets the current commanded drive state of the robot. Feedforward is applied to driveSignal before it reaches the motors.