speed buttons added, extra steps taken out of auto.

This commit is contained in:
robotics2
2023-11-28 16:52:22 -08:00
parent e6e8a657d7
commit 76eac94686
3 changed files with 3 additions and 11 deletions

View File

@ -31,9 +31,7 @@ package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.DistanceSensor;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.util.ElapsedTime;
@ -68,7 +66,7 @@ import org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit;
@Autonomous(name="Blue (Backstage)", group="Robot")
//@Disabled
public class bluefront extends LinearOpMode {
public class BlueBackStage extends LinearOpMode {
/* Declare OpMode members. */
private DcMotor leftDrive = null;

View File

@ -33,9 +33,7 @@ import android.annotation.SuppressLint;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.DistanceSensor;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.util.ElapsedTime;
@ -70,7 +68,7 @@ import org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit;
@Autonomous(name="red (backstage)", group="Robot")
//@Disabled
public class Autonomoustest extends LinearOpMode {
public class RedBackStage extends LinearOpMode {
/* Declare OpMode members. */
private DcMotor leftDrive = null;

View File

@ -4,15 +4,11 @@ package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.hardware.Gamepad;
import com.qualcomm.robotcore.hardware.Servo;
import com.qualcomm.robotcore.util.ElapsedTime;
@TeleOp( name = "manual control")
public class arm extends OpMode {
public class manual extends OpMode {
DcMotor arm;
Servo gripper;