Skip to content

Instantly share code, notes, and snippets.

View bqrichards's full-sized avatar
🎯
Focusing

Brandon Richards bqrichards

🎯
Focusing
View GitHub Profile
while (opModeIsActive()) {
float x1 = gamepad1.right_stick_x, y1 = -gamepad1.right_stick_y;
float x2 = gamepad1.left_stick_x;
// Reset variables
float leftFrontPower = 0;
float leftBackPower = 0;
float rightFrontPower = 0;
float rightBackPower = 0;