Skip to content

Commit

Permalink
back to testing, it failed with the new cable
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSchweyk committed May 12, 2022
1 parent ff515a1 commit a538155
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Table/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
table = ConferenceSandTable()
try:
table.home()
table.draw_equation("4 * sin(4 * theta)", 2*pi, theta_speed=.6, scale_factor=1, sleep=.005)
# angle = pi/4
# for i in range(10):
# print(i+1)
# table.rotate(angle)
# angle *= -1
# table.move("out")
# table.move("in")
# table.draw_equation("4 * sin(4 * theta)", 1*pi, theta_speed=.6, scale_factor=1, sleep=.005)
angle = pi/4
for i in range(10):
print(i+1)
table.rotate(angle)
angle *= -1
table.move("out")
table.move("in")

except (AttributeError, KeyboardInterrupt, Exception) as e:
table.emergency_stop()
Expand Down

0 comments on commit a538155

Please sign in to comment.