From ed21ee1fafaca70236628e0fc0478259235a52b7 Mon Sep 17 00:00:00 2001 From: Jordi Date: Wed, 25 Dec 2024 13:28:00 +0100 Subject: [PATCH] a --- calibration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calibration.py b/calibration.py index 2184343..7f35853 100644 --- a/calibration.py +++ b/calibration.py @@ -24,7 +24,8 @@ def main(): legs = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] print("Moving all legs to the initial position (55 degrees).") for leg in legs: - move_leg_with_prompt(leg, ANGLE_INITIAL) + kit.servo[leg].angle = ANGLE_INITIAL + time.sleep(DELAY) while True: for leg in legs: