This commit is contained in:
Zelina974 2024-02-04 15:37:09 +01:00
parent 10eaf27c53
commit b62cd2ca93

View file

@ -45,7 +45,7 @@ public class ftc2024_autonome extends LinearOpMode {
runtime.reset(); runtime.reset();
if (mode){ if (mode){
//mode Elina //mode Elina
while (opModeIsActive() && (runtime.seconds() <= 41e-2*maths.PI/4/speed)) { while (opModeIsActive() && (runtime.seconds() <= 41e-2*Math.PI/4/speed)) {
lm.setPower(1); lm.setPower(1);
rm.setPower(-1); rm.setPower(-1);
telemetry.addData("Leg 1", runtime.seconds()); telemetry.addData("Leg 1", runtime.seconds());