From 779deade90ff52772e4b31339d3c0f6025859952 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 16 Feb 2022 22:14:58 -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 81df08c..bb5556a 100644 --- a/software/raspberry pi/hexapod.py +++ b/software/raspberry pi/hexapod.py @@ -124,7 +124,7 @@ class Hexapod(Thread): # self.leg_5.reset(True) self.standby_coordinate = self.calculate_standby_coordinate(60, 75) - self.laydown_coordinate = self.calculate_standby_coordinate(40, 15) + self.laydown_coordinate = self.calculate_standby_coordinate(90, 15) self.forward_path = gen_forward_path(self.standby_coordinate) self.backward_path = gen_backward_path(self.standby_coordinate) self.fastforward_path = gen_fastforward_path(self.standby_coordinate) @@ -145,8 +145,8 @@ class Hexapod(Thread): self.current_motion = None - self.standby() - # self.laydown() + # self.standby() + self.laydown() # self.leg_0.move_junctions([90,45,135]) time.sleep(1)