Absolute Drive Command
class AbsoluteDriveCommand(vForwards: DoubleSupplier, vStrafe: DoubleSupplier, headingX: DoubleSupplier, headingY: DoubleSupplier) : Command
A Command that lets you provide a direct heading rather than an angular velocity
Parameters
v Forwards
Supplier for the forwards velocity of the robot
v Strafe
Supplier for the side-to-side velocity of the robot
heading X
X Component of the desired heading
heading Y
Y Component of the desired heading
Constructors
Link copied to clipboard
constructor(vForwards: DoubleSupplier, vStrafe: DoubleSupplier, headingX: DoubleSupplier, headingY: DoubleSupplier)