Package-level declarations

Properties

Link copied to clipboard

Multiplier applied to all drive input; re-read live each loop so it can be adjusted mid-match (e.g. slow-mode).

Functions

Link copied to clipboard
fun mecanumDrive(frontLeft: NextMotor, frontRight: NextMotor, backLeft: NextMotor, backRight: NextMotor, gamepad: Gamepad, kinematics: MecanumKinematics = MecanumKinematics()): Command

Command that drives a mecanum drivetrain from gamepad's sticks.

Link copied to clipboard
fun mecanumDriveFieldCentric(frontLeft: NextMotor, frontRight: NextMotor, backLeft: NextMotor, backRight: NextMotor, gamepad: Gamepad, heading: Supplier<Double>, kinematics: MecanumKinematics = MecanumKinematics()): Command

Command that drives a mecanum drivetrain from gamepad's sticks, field-centric.

Link copied to clipboard
fun tankDrive(frontLeft: NextMotor, frontRight: NextMotor, backLeft: NextMotor, backRight: NextMotor, gamepad: Gamepad, kinematics: TankKinematics = TankKinematics()): Command

Command that drives a tank drivetrain from gamepad's sticks.