twist
This commit is contained in:
@ -17,6 +17,7 @@ from path_generator import gen_leftturn_path, gen_rightturn_path
|
||||
from path_generator import gen_shiftleft_path, gen_shiftright_path
|
||||
from path_generator import gen_climb_path
|
||||
from path_generator import gen_rotatex_path, gen_rotatey_path, gen_rotatez_path
|
||||
from path_generator import gen_twist_path
|
||||
|
||||
|
||||
SIN30 = 0.5
|
||||
@ -105,6 +106,7 @@ class Hexapod:
|
||||
self.rotatex_path = gen_rotatex_path(self.standby_coordinate)
|
||||
self.rotatey_path = gen_rotatey_path(self.standby_coordinate)
|
||||
self.rotatez_path = gen_rotatez_path(self.standby_coordinate)
|
||||
self.twist_path = gen_twist_path(self.standby_coordinate)
|
||||
|
||||
self.standby()
|
||||
time.sleep(1)
|
||||
@ -138,7 +140,7 @@ class Hexapod:
|
||||
|
||||
# self.move(self.rotatex_path, 0.005)
|
||||
for mm in range(0, 20):
|
||||
self.move(self.rotatez_path, 0.005)
|
||||
self.move(self.twist_path, 0.005)
|
||||
|
||||
time.sleep(1)
|
||||
self.standby()
|
||||
|
Reference in New Issue
Block a user