new:commit
This commit is contained in:
parent
4aae31651f
commit
8fce1547bf
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class ftc2024_autonome extends LinearOpMode {
|
|||
};
|
||||
//mode Aurelien
|
||||
for(int i = 0; i<operations.length; i++){
|
||||
double vec = operations[i];
|
||||
double[] vec = operations[i];
|
||||
double x = vec[0];
|
||||
double y = vec[1];
|
||||
double total_dist = (double) math.sqrt(Math.pow(y,2)+Math.pow(x,2));
|
||||
|
|
Loading…
Reference in a new issue