From 5d0571abfa814c7668c255c29660791a8eb0c9cf Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Tue, 9 May 2023 13:47:56 -0500 Subject: [PATCH] fix pins of added servos --- software/raspberry pi/hexapod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/raspberry pi/hexapod.py b/software/raspberry pi/hexapod.py index fdb74d4..3e62cb0 100644 --- a/software/raspberry pi/hexapod.py +++ b/software/raspberry pi/hexapod.py @@ -127,8 +127,8 @@ class Hexapod(Thread): correction=self.config.get('leg0Offset', [0, 0, 0]), scale=self.config.get('leg0Scale', [1, 1, 1])), # center right Leg(1, - [self.pca_left.servo[6], self.pca_left.servo[7], - self.pca_left.servo[8]], + [self.pca_left.servo[8], self.pca_left.servo[7], + self.pca_left.servo[6]], correction=self.config.get('leg1Offset', [0, 0, 0]), scale=self.config.get('leg1Scale', [1, 1, 1])), # rear right Leg(2,