Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openInterface/esp32/assets/lib/ilo/ilo_micro-unminified.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def step(direction, step=None, finish_state=True):
print ("[ERROR] 'step' should be between 0.1 and 100 for translation")
return None

step = int(step*100)
step = int(step*196)

elif (direction == 'rot_trigo' or direction == 'rot_clock'):
if step is None:
Expand Down
2 changes: 1 addition & 1 deletion openInterface/esp32/assets/lib/ilo/ilo_micro.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def step(direction,step=_A,finish_state=_F):
if A is _A:A=1
if not isinstance(A,(int,float)):print(F);return _A
if A>100 or A<.1:print("[ERROR] 'step' should be between 0.1 and 100 for translation");return _A
A=int(A*100)
A=int(A*196)
elif B==_P or B==_Q:
if A is _A:A=1
if not isinstance(A,(int,float)):print(F);return _A
Expand Down