|
|
@ -127,8 +127,8 @@ class Hexapod(Thread):
|
|
|
|
correction=self.config.get('leg0Offset', [0, 0, 0]), scale=self.config.get('leg0Scale', [1, 1, 1])),
|
|
|
|
correction=self.config.get('leg0Offset', [0, 0, 0]), scale=self.config.get('leg0Scale', [1, 1, 1])),
|
|
|
|
# center right
|
|
|
|
# center right
|
|
|
|
Leg(1,
|
|
|
|
Leg(1,
|
|
|
|
[self.pca_left.servo[6], self.pca_left.servo[7],
|
|
|
|
[self.pca_left.servo[8], self.pca_left.servo[7],
|
|
|
|
self.pca_left.servo[8]],
|
|
|
|
self.pca_left.servo[6]],
|
|
|
|
correction=self.config.get('leg1Offset', [0, 0, 0]), scale=self.config.get('leg1Scale', [1, 1, 1])),
|
|
|
|
correction=self.config.get('leg1Offset', [0, 0, 0]), scale=self.config.get('leg1Scale', [1, 1, 1])),
|
|
|
|
# rear right
|
|
|
|
# rear right
|
|
|
|
Leg(2,
|
|
|
|
Leg(2,
|
|
|
|