NiryoRobotics / niryo_one_ros

Niryo One ROS stack
GNU General Public License v3.0
234 stars 160 forks source link

auto calibration infinite loop. #23

Closed wyojustin closed 5 years ago

wyojustin commented 5 years ago

I received my new, assembled Niryo One last week (Dec 28 2018) and everything worked well out of the box. This morning I booted the Niryo One and requested an auto calibration from the python api. Here is what happens next:

Joint 0 (at base of Niryo One closest to rpi) rotates slowly to near +180 degrees, then jerks back and forth a few degrees indefinitly like a limit switch is not triggered.

All other joints behave as expected.

Also, I've repeated the experiment using Niryo One Studio with the same result except I could not kill the process and had to do a remote shutdown from SSH to get it to stop.

FEATURE REQUEST: Add cancel to Auto Calibration interface.

renarded commented 5 years ago

Hi, The issue you have is mechanical. This is probably due to the belt not being tensed enough on the first axis.

Check out this tutorial to tense the belt. Also if it doesn't work, you might have a look at timing pulleys and also magnets on stepper motors.

For now it's not possible to cancel an auto calibration (my bad, poor design choice from the beginning. We might look into that in the future), but there is a timeout set at 40s so the robot will eventually stop.

Let me know if this solves your issue. For further debugging you can also contact our technical support directly on our website.

wyojustin commented 5 years ago

Thank you for the prompt reply. That was the problem. I will contact your technical support directly next time.