AbsoluteDriveCommand

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

vForwards

Supplier for the forwards velocity of the robot

vStrafe

Supplier for the side-to-side velocity of the robot

headingX

X Component of the desired heading

headingY

Y Component of the desired heading

Constructors

Link copied to clipboard
constructor(vForwards: DoubleSupplier, vStrafe: DoubleSupplier, headingX: DoubleSupplier, headingY: DoubleSupplier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard