complete mode Elina

This commit is contained in:
Zelina974 2024-01-28 16:55:48 +01:00
parent 808c7e5bd5
commit deeed36095

View file

@ -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 {
//mode Aurelien
@ -50,14 +56,9 @@ public class ftc2024_autonome extends LinearOpMode {
telemetry.update();
}
}
// run until the end of the match (driver presses STOP)
// run until the end of the match (driver presses STOP
}
}