✨
This commit is contained in:
6
rally.py
6
rally.py
@ -101,8 +101,6 @@ def main():
|
||||
|
||||
angle = np.rad2deg(np.arctan(position[0]/position[2]))
|
||||
drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 120
|
||||
if drive_distance < 30:
|
||||
break
|
||||
|
||||
if angle < 0:
|
||||
noah.go_diff(POWER, POWER, 0, 1)
|
||||
@ -126,5 +124,9 @@ def main():
|
||||
|
||||
break
|
||||
|
||||
print("Breasts")
|
||||
|
||||
print("trying again")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Reference in New Issue
Block a user