Update ftc2024-autonome.java

This commit is contained in:
Zelina974 2024-02-11 15:06:00 +01:00 committed by GitHub
parent 6d2ed0fb44
commit c206d7e56b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ public class ftc2024_autonome extends LinearOpMode {
double wheel_rayon = (wheel_width)/2; double wheel_rayon = (wheel_width)/2;
double wheel_perimeter = wheel_rayon*2*Math.PI; double wheel_perimeter = wheel_rayon*2*Math.PI;
double speed = (tour_par_minute/60)*wheel_perimeter;//dist per second double speed = (tour_par_minute/60)*wheel_perimeter;//dist per second
boolean mode = false; boolean mode = true;
// Wait for the game to start (driver presses PLAY) // Wait for the game to start (driver presses PLAY)
waitForStart(); waitForStart();