master
Zhengyu Peng 3 years ago
parent a8590f3e18
commit 116a228ced

@ -153,6 +153,8 @@ class Hexapod:
self.standby() self.standby()
time.sleep(1) time.sleep(1)
# self.leg_0.set_angle(1, 30)
# for mm in range(0, 10): # for mm in range(0, 10):
# self.move(self.forward_path, 0.005) # self.move(self.forward_path, 0.005)
# for mm in range(0, 10): # for mm in range(0, 10):

@ -32,7 +32,7 @@ class Leg:
id, id,
junction_servos, junction_servos,
correction=[0, 0, 0], correction=[0, 0, 0],
constraint=[[35, 145], [30, 165], [30, 150]]): constraint=[[35, 145], [10, 165], [30, 150]]):
self.id = id self.id = id
self.junction_servos = junction_servos self.junction_servos = junction_servos
self.correction = correction self.correction = correction

Loading…
Cancel
Save