Skip to content
Snippets Groups Projects
Commit 2f20aa60 authored by m-guberina's avatar m-guberina
Browse files

pretty sure i just fixed my problem

parent f41cf327
Branches
No related tags found
No related merge requests found
...@@ -25,7 +25,9 @@ def moveJControlLoop(q_desired, robot, i, past_data): ...@@ -25,7 +25,9 @@ def moveJControlLoop(q_desired, robot, i, past_data):
q = q[:6] q = q[:6]
q_error = q_desired - q q_error = q_desired - q
if np.linalg.norm(q_error) < 1e-4: # STOP MUCH BEFORE YOU NEED TO
# EVEN THIS MIGHT BE TOO MUCH
if np.linalg.norm(q_error) < 1e-1:
breakFlag = True breakFlag = True
# stupid hack, for the love of god remove this # stupid hack, for the love of god remove this
# but it should be small enough lel # but it should be small enough lel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment