change
This commit is contained in:
parent
ff8e4bf295
commit
a41e87756b
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,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 = true;
|
boolean mode = false;
|
||||||
|
|
||||||
YawPitchRollAngles robotOrientation;
|
YawPitchRollAngles robotOrientation;
|
||||||
robotOrientation = imu.getRobotYawPitchRollAngles();
|
robotOrientation = imu.getRobotYawPitchRollAngles();
|
||||||
|
@ -119,7 +119,7 @@ public class ftc2024_autonome extends LinearOpMode {
|
||||||
{1.0,1.0},
|
{1.0,1.0},
|
||||||
{-1.0,1.0},
|
{-1.0,1.0},
|
||||||
{-1.0,-1.0},
|
{-1.0,-1.0},
|
||||||
{1.0,-1.0}
|
{1.0,-1.0}
|
||||||
};
|
};
|
||||||
//mode Aurelien
|
//mode Aurelien
|
||||||
for(int i = 0; i<operations.length; i++){
|
for(int i = 0; i<operations.length; i++){
|
||||||
|
|
Loading…
Reference in a new issue