aeraer
This commit is contained in:
parent
7e089127ef
commit
f94dc391a0
1 changed files with 13 additions and 9 deletions
|
@ -1,20 +1,20 @@
|
||||||
package org.firstinspires.ftc.teamcode;
|
package org.firstinspires.ftc.teamcode;
|
||||||
|
// https://prod.liveshare.vsengsaas.visualstudio.com/join?03587C25F0BC652DEF22BF0B00ACEDD85FD3
|
||||||
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
|
|
||||||
import org.firstinspires.ftc.robotcore.external.navigation.YawPitchRollAngles;
|
|
||||||
import com.qualcomm.robotcore.robot.Robot;
|
import com.qualcomm.robotcore.robot.Robot;
|
||||||
import java.text.spi.DecimalFormatSymbolsProvider;
|
import com.qualcomm.robotcore.robot.Robot;
|
||||||
import org.firstinspires.ftc.robotcore.external.Telemetry;
|
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.Gamepad;
|
||||||
import com.qualcomm.robotcore.hardware.DcMotorEx;
|
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.DcMotor;
|
||||||
import com.qualcomm.robotcore.hardware.DcMotorSimple;
|
import com.qualcomm.robotcore.hardware.DcMotorSimple;
|
||||||
import com.qualcomm.robotcore.hardware.Servo;
|
import com.qualcomm.robotcore.hardware.Servo;
|
||||||
import com.qualcomm.robotcore.hardware.IMU;
|
import com.qualcomm.robotcore.hardware.IMU;
|
||||||
import com.qualcomm.robotcore.hardware.ImuOrientationOnRobot;
|
import com.qualcomm.robotcore.hardware.ImuOrientationOnRobot;
|
||||||
import com.qualcomm.hardware.rev.RevHubOrientationOnRobot;
|
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.AngleUnit;
|
||||||
import org.firstinspires.ftc.robotcore.external.navigation.AxesOrder;
|
import org.firstinspires.ftc.robotcore.external.navigation.AxesOrder;
|
||||||
import org.firstinspires.ftc.robotcore.external.navigation.AxesReference;
|
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")
|
@TeleOp(name = "FGC2024", group = "WeRobot")
|
||||||
public class FGC_2024 extends LinearOpMode {
|
public class FGC_2024 extends LinearOpMode {
|
||||||
|
|
||||||
|
|
||||||
private DcMotorEx rm;
|
private DcMotorEx rm;
|
||||||
private DcMotorEx lm;
|
private DcMotorEx lm;
|
||||||
private DcMotorEx elv1;
|
private DcMotorEx elv1;
|
||||||
//private DcMotorEx elv2;
|
//private DcMotorEx elv2;
|
||||||
//private DcMotorEx elv3;
|
//private DcMotorEx elv3;
|
||||||
|
/*
|
||||||
|
* @description <p>Useful</p>
|
||||||
|
*/
|
||||||
|
public static void hello(re){return re*2;}
|
||||||
@Override
|
@Override
|
||||||
public void runOpMode() throws InterruptedException {
|
public void runOpMode() throws InterruptedException {
|
||||||
|
this
|
||||||
|
|
||||||
telemetry.addData("Status"," Initialized");
|
telemetry.addData("Status"," Initialized");
|
||||||
telemetry.update();
|
telemetry.update();
|
||||||
|
|
Loading…
Reference in a new issue