This commit is contained in:
NikolajDanger committed 2022-10-26 09:47:37 +02:00
1 parent 5e2766b01e
commit 23b99b56d5
1 file changed
+1 -1
+1 -1
View File
@@ -95,7 +95,7 @@ def main():
)[1][0][0] )[1][0][0]
angle = np.rad2deg(np.arctan(position[0]/position[2])) angle = np.rad2deg(np.arctan(position[0]/position[2]))
drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 20 drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 30
if drive_distance < 30: if drive_distance < 30:
break break