|
|
@ -136,12 +136,12 @@ class Hexapod(Thread):
|
|
|
|
# center left
|
|
|
|
# center left
|
|
|
|
self.leg_4 = Leg(4,
|
|
|
|
self.leg_4 = Leg(4,
|
|
|
|
[self.pca_right.servo[7], self.pca_right.servo[11],
|
|
|
|
[self.pca_right.servo[7], self.pca_right.servo[11],
|
|
|
|
self.pca_right.servo[4]],
|
|
|
|
self.pca_right.servo[6]],
|
|
|
|
correction=[-6, 2, -4])
|
|
|
|
correction=[-6, 2, -4])
|
|
|
|
# front left
|
|
|
|
# front left
|
|
|
|
self.leg_5 = Leg(5,
|
|
|
|
self.leg_5 = Leg(5,
|
|
|
|
[self.pca_right.servo[0], self.pca_right.servo[1],
|
|
|
|
[self.pca_right.servo[0], self.pca_right.servo[4],
|
|
|
|
self.pca_right.servo[2]],
|
|
|
|
self.pca_right.servo[5]],
|
|
|
|
correction=[0, 0, -10])
|
|
|
|
correction=[0, 0, -10])
|
|
|
|
|
|
|
|
|
|
|
|
# self.leg_0.reset(True)
|
|
|
|
# self.leg_0.reset(True)
|
|
|
|