From d6e649253ffc7e6e72ab7d3665ea29efb81990cf Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Sun, 27 Feb 2022 18:16:52 -0500 Subject: [PATCH] Update hexapod.py --- software/raspberry pi/hexapod.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/software/raspberry pi/hexapod.py b/software/raspberry pi/hexapod.py index 88599b1..9dde418 100644 --- a/software/raspberry pi/hexapod.py +++ b/software/raspberry pi/hexapod.py @@ -136,12 +136,12 @@ class Hexapod(Thread): # center left self.leg_4 = Leg(4, [self.pca_right.servo[7], self.pca_right.servo[11], - self.pca_right.servo[4]], + self.pca_right.servo[6]], correction=[-6, 2, -4]) # front left self.leg_5 = Leg(5, - [self.pca_right.servo[0], self.pca_right.servo[1], - self.pca_right.servo[2]], + [self.pca_right.servo[0], self.pca_right.servo[4], + self.pca_right.servo[5]], correction=[0, 0, -10]) # self.leg_0.reset(True)