From ba57d5ba06e164844559ab577e54d2f887a50612 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Sat, 11 Dec 2021 10:04:27 -0500 Subject: [PATCH] update --- software/rpi/hexapod.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/software/rpi/hexapod.py b/software/rpi/hexapod.py index 11d11a8..3d74deb 100644 --- a/software/rpi/hexapod.py +++ b/software/rpi/hexapod.py @@ -111,32 +111,32 @@ class Hexapod: self.standby() time.sleep(1) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.forward_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.backward_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.fastforward_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.fastbackward_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.leftturn_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.rightturn_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.shiftleft_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.shiftright_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.climb_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.rotatex_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.rotatey_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.rotatez_path, 0.005) - for mm in range(0, 20): + for mm in range(0, 10): self.move(self.twist_path, 0.005) time.sleep(1)