Merge branch 'master' of https://github.com/GZod01/ftc2024-robotcode
This commit is contained in:
commit
ef24bf24e8
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class ftc2024_autonome extends LinearOpMode {
|
||||||
};
|
};
|
||||||
//mode Aurelien
|
//mode Aurelien
|
||||||
for(int i = 0; i<operations.length; i++){
|
for(int i = 0; i<operations.length; i++){
|
||||||
double vec = operations[i];
|
double[] vec = operations[i];
|
||||||
double x = vec[0];
|
double x = vec[0];
|
||||||
double y = vec[1];
|
double y = vec[1];
|
||||||
double total_dist = (double) math.sqrt(Math.pow(y,2)+Math.pow(x,2));
|
double total_dist = (double) math.sqrt(Math.pow(y,2)+Math.pow(x,2));
|
||||||
|
|
Loading…
Reference in a new issue