helloworld

This commit is contained in:
GZod01 2024-04-01 18:11:55 +02:00
parent 04e1e64407
commit 4846aee1f3

View file

@ -222,8 +222,8 @@ public class WEROBOT_FTC2024_New_carlike extends LinearOpMode {
a = (-y + x) / 2;//Math.pow(2, 1 / 2); a = (-y + x) / 2;//Math.pow(2, 1 / 2);
b = (-y - x) / 2;//Math.pow(2, 1 / 2); b = (-y - x) / 2;//Math.pow(2, 1 / 2);
vmean = (Math.abs(a) + Math.abs(b)) / 2; vmean = (Math.abs(a) + Math.abs(b)) / 2;
lpower = a*t2;//(a / vmean) * t2; lpower = (a / vmean) * t2;
rpower = a*t2;//(b / vmean) * t2; rpower = (b / vmean) * t2;
break; break;
case ELINA: case ELINA: