✨
This commit is contained in:
1 parent
3b1ce060df
commit
f822019bd1
1 file changed
+1
-1
@@ -91,7 +91,7 @@ def main():
|
||||
)[1][0][0]
|
||||
|
||||
angle = np.rad2deg(np.arctan(position[0]/position[2]))
|
||||
drive_distance = np.sqrt(position[0]**2 + position[2]**2)
|
||||
drive_distance = np.sqrt(position[0]**2 + position[2]**2) - 20
|
||||
if angle < 0:
|
||||
noah.go_diff(POWER, POWER, 0, 1)
|
||||
time.sleep((abs(angle) * TURN_T)/1000)
|
||||
|
||||
Reference in new issue
Block a user