setSpeedUsingController

open fun setSpeedUsingController(left_stick_x: Double, left_stick_y: Double, right_stick_x: Double): CartesianMecanumDrive

Set a speed at which the Mecanum drive assembly should move using controller input. The difference is that the vectors will be negated properly for the gamepad.

Return

this

Parameters

left_stick_x

X value of the controller

left_stick_y

Y value of the controller

right_stick_x

R value of the controller

See also

Controls