master
Zhengyu Peng 3 years ago
parent 90ade32177
commit 26b8d8cb49

@ -111,32 +111,24 @@ class Hexapod:
self.standby() self.standby()
time.sleep(1) time.sleep(1)
# for mm in range(0, 20): for mm in range(0, 20):
# self.move(self.forward_path, 0.005) self.move(self.forward_path, 0.005)
for mm in range(0, 20):
# for mm in range(0, 20): self.move(self.backward_path, 0.005)
# self.move(self.backward_path, 0.005) for mm in range(0, 20):
self.move(self.fastforward_path, 0.005)
# for mm in range(0, 20): for mm in range(0, 20):
# self.move(self.fastforward_path, 0.005) self.move(self.fastbackward_path, 0.005)
for mm in range(0, 20):
# for mm in range(0, 20): self.move(self.leftturn_path, 0.005)
# self.move(self.fastbackward_path, 0.005) for mm in range(0, 20):
self.move(self.rightturn_path, 0.005)
# for mm in range(0, 20): for mm in range(0, 20):
# self.move(self.leftturn_path, 0.005) self.move(self.shiftleft_path, 0.005)
for mm in range(0, 20):
# for mm in range(0, 20): self.move(self.shiftright_path, 0.005)
# self.move(self.rightturn_path, 0.005) for mm in range(0, 20):
self.move(self.climb_path, 0.005)
# for mm in range(0, 20):
# self.move(self.shiftleft_path, 0.005)
# for mm in range(0, 20):
# self.move(self.shiftright_path, 0.005)
# for mm in range(0, 20):
# self.move(self.climb_path, 0.005)
for mm in range(0, 20): for mm in range(0, 20):
self.move(self.rotatex_path, 0.005) self.move(self.rotatex_path, 0.005)

Loading…
Cancel
Save