Merge branch 'master' of github.com:GZod01/ftc2024-robotcode
PFFF
This commit is contained in:
commit
7834ab0ecb
1 changed files with 9 additions and 8 deletions
|
@ -36,10 +36,16 @@ public class ftc2024_autonome extends LinearOpMode {
|
|||
//mode Elina
|
||||
while (opModeIsActive() && (runtime.seconds() <= 3.0)) {
|
||||
leftMotor.setPower(1);
|
||||
rightMotor.setPower(1);
|
||||
rightMotor.setPower(-1);
|
||||
telemetry.addData("Leg 1", runtime.seconds());
|
||||
telemetry.update();
|
||||
}
|
||||
while (opModeIsActive() && (runtime.seconds() <= 10.0)) {
|
||||
leftMotor.setPower(1);
|
||||
rightMotor.setPower(1);
|
||||
telemetry.addData("Leg 2", runtime.seconds());
|
||||
telemetry.update();
|
||||
}
|
||||
}
|
||||
else {
|
||||
double[][] operations = {
|
||||
|
@ -61,14 +67,9 @@ public class ftc2024_autonome extends LinearOpMode {
|
|||
}
|
||||
}
|
||||
}
|
||||
// run until the end of the match (driver presses STOP)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// run until the end of the match (driver presses STOP
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue