diff --git a/FTC2024WeRobotControl.java b/FTC2024WeRobotControl.java index fae7b90..3000b63 100644 --- a/FTC2024WeRobotControl.java +++ b/FTC2024WeRobotControl.java @@ -148,7 +148,7 @@ public class FTC2024WeRobotControl { double left_multiplier = -((double) Math.signum(angle)); double right_multiplier = ((double) Math.signum(angle)); double m_power = motor_speed; - if(Math.abs(angle)===180){ + if(Math.abs(angle)==180){ angle = (double) ( ( (double) Math.signum(angle) ) * 179.9 ); } while(Parent.opModeIsActive() && (Math.abs(robotOrientation.getYaw(AngleUnit.DEGREES) - start_yaw) < Math.abs(angle))){ diff --git a/__pycache__/list.cpython-311.pyc b/__pycache__/list.cpython-311.pyc new file mode 100644 index 0000000..715675a Binary files /dev/null and b/__pycache__/list.cpython-311.pyc differ diff --git a/list.py b/list.py new file mode 100644 index 0000000..ecb2683 --- /dev/null +++ b/list.py @@ -0,0 +1,12 @@ + + +def calcul_suite(n): + res1 = [1]; + for i in range(n): + res2 = 0; + for j in res1: + res2+=j; + res2+=1; + res1.append(res2); + return res1[n-1]; +