Skip to content

Commit

Permalink
Patrick Teleop
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeevans12 committed Oct 9, 2024
1 parent 5268a63 commit 465bf44
Showing 1 changed file with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package org.firstinspires.ftc.teamcode.opmode;

import com.acmerobotics.dashboard.config.Config;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;

@Config
@TeleOp
public class PatrickTeleOP extends LinearOpMode {

private DcMotor front_left;
private DcMotor front_right;
private DcMotor back_left;
private DcMotor back_right;

@Override
public void runOpMode() throws InterruptedException {
waitForStart();
front_left = hardwareMap.get(DcMotor.class, "left_front_left_dw");
front_right = hardwareMap.get(DcMotor.class, "right_front");
back_left = hardwareMap.get(DcMotor.class, "left_back");
back_right = hardwareMap.get(DcMotor.class, "right_back_right_dw");

while (opModeIsActive()) {
if (gamepad1.left_stick_x > 0) {
}
}

}


}

0 comments on commit 465bf44

Please sign in to comment.