This commit is contained in:
GZod01 2024-07-09 15:43:03 +02:00
parent 7e089127ef
commit f94dc391a0

View file

@ -1,20 +1,20 @@
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import org.firstinspires.ftc.robotcore.external.navigation.YawPitchRollAngles;
// https://prod.liveshare.vsengsaas.visualstudio.com/join?03587C25F0BC652DEF22BF0B00ACEDD85FD3
import com.qualcomm.robotcore.robot.Robot;
import java.text.spi.DecimalFormatSymbolsProvider;
import org.firstinspires.ftc.robotcore.external.Telemetry;
import com.qualcomm.robotcore.robot.Robot;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.Gamepad;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import com.qualcomm.robotcore.robot.Robot;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.hardware.IMU;
import com.qualcomm.robotcore.hardware.ImuOrientationOnRobot;
import com.qualcomm.hardware.rev.RevHubOrientationOnRobot;
import org.firstinspires.ftc.robotcore.external.Telemetry;
import org.firstinspires.ftc.robotcore.external.navigation.YawPitchRollAngles;
import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit;
import org.firstinspires.ftc.robotcore.external.navigation.AxesOrder;
import org.firstinspires.ftc.robotcore.external.navigation.AxesReference;
@ -24,16 +24,20 @@ import org.firstinspires.ftc.robotcore.external.navigation.Velocity;
@TeleOp(name = "FGC2024", group = "WeRobot")
public class FGC_2024 extends LinearOpMode {
private DcMotorEx rm;
private DcMotorEx lm;
private DcMotorEx elv1;
//private DcMotorEx elv2;
//private DcMotorEx elv3;
/*
* @description <p>Useful</p>
*/
public static void hello(re){return re*2;}
@Override
public void runOpMode() throws InterruptedException {
this
telemetry.addData("Status"," Initialized");
telemetry.update();