From 116a228ced8a80a8e4e67f16fecf493474dc54dd Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 22 Dec 2021 20:44:22 -0500 Subject: [PATCH] update --- software/rpi/hexapod.py | 2 ++ software/rpi/leg.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/software/rpi/hexapod.py b/software/rpi/hexapod.py index 79019bd..4ba2242 100644 --- a/software/rpi/hexapod.py +++ b/software/rpi/hexapod.py @@ -153,6 +153,8 @@ class Hexapod: self.standby() time.sleep(1) + # self.leg_0.set_angle(1, 30) + # for mm in range(0, 10): # self.move(self.forward_path, 0.005) # for mm in range(0, 10): diff --git a/software/rpi/leg.py b/software/rpi/leg.py index 039df06..03a2454 100644 --- a/software/rpi/leg.py +++ b/software/rpi/leg.py @@ -32,7 +32,7 @@ class Leg: id, junction_servos, correction=[0, 0, 0], - constraint=[[35, 145], [30, 165], [30, 150]]): + constraint=[[35, 145], [10, 165], [30, 150]]): self.id = id self.junction_servos = junction_servos self.correction = correction