:sparkles
This commit is contained in:
4
rally.py
4
rally.py
@ -142,15 +142,11 @@ def main():
|
|||||||
)[1][0][0]
|
)[1][0][0]
|
||||||
drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 25
|
drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 25
|
||||||
noah.go_diff(POWER, POWER, 1, 1)
|
noah.go_diff(POWER, POWER, 1, 1)
|
||||||
print("Final bit")
|
|
||||||
time.sleep((drive_distance * DRIVE_T)/1000)
|
time.sleep((drive_distance * DRIVE_T)/1000)
|
||||||
noah.stop()
|
noah.stop()
|
||||||
|
|
||||||
break
|
break
|
||||||
|
|
||||||
print("Breasts")
|
|
||||||
|
|
||||||
print("trying again")
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
start = time.time()
|
start = time.time()
|
||||||
|
Reference in New Issue
Block a user