motor test
This commit is contained in:
parent
842399b23d
commit
03512ff533
@ -87,6 +87,7 @@ def einzelschritt(spule, status, ges_schritte, schritt, t1, t2):
|
|||||||
w = (schritt * 100 / (ges_schritte - 1)) * 1.8
|
w = (schritt * 100 / (ges_schritte - 1)) * 1.8
|
||||||
s = round(math.sin(math.radians(w)), 2)
|
s = round(math.sin(math.radians(w)), 2)
|
||||||
t = t2 - (s * (t2 - t1))
|
t = t2 - (s * (t2 - t1))
|
||||||
|
print(str(schritt))
|
||||||
|
|
||||||
if status == 1:
|
if status == 1:
|
||||||
for i in range(0, 91, 5):
|
for i in range(0, 91, 5):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user