-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arm Freezes #18
Comments
I went over your code. le_grab = {"command":"move","prm":{"path":"line","movement":0,"speed":lin_speed,"jerk":jerk,"joint":[59, 30.5736, -100.25458000000003, -23.319000000000003, -58.0]}} # lemon
li_grab = {"command":"move","prm":{"path":"line","movement":0,"speed":lin_speed,"jerk":jerk,"joint":[59, 33.9616, -101.04853000000003, -25.912999999999997, -58.0]}} Basically, robot has to do some extra processing when it follows a line ( To test this, I changed the le_grab = {"command":"move","prm":{"path":"joint","movement":0,"speed":speed,"jerk":jerk,"joint":[59, 30.5736, -100.25458000000003, -23.319000000000003, -58.0]}} # lemon
li_grab = {"command":"move","prm":{"path":"joint","movement":0,"speed":speed,"jerk":jerk,"joint":[59, 33.9616, -101.04853000000003, -25.912999999999997, -58.0]}} I was also able to pass 500 commands with no problem, on Windows 10 machine. Here is the script and the logs. |
Thank you very much for this input. With your tips in mind I will attempt some further testing and report back. |
Try this new code. |
Is there no way to use linear movement commands with short move segments at this time? If the API isn’t handling the extra time needed to process these commands would a sleep statement following every linear move suffice or a slower speed? Do you have any example scripts? I am particularly worried about employing the laser attachment without an example to learn from. At this time it sounds like I won’t be able to use this to cut small shapes with straight lines such as a star pattern. Is this correct? |
@tloanPhytec |
I have this same issue even when running the command as "joint". When it does freeze, I also have to turn off all the power and disconnect usb from my computer otherwise I fail to connect. Sometimes it will load 2/7 packages when connecting and then disconnect. At what rate can we send commands to the arduino? EDIT:
|
Bonjour c'est ma toute première fois d'utiliser le bras de robot dorna(Dorna simple et 6 axes). j'ai déjà fais tous les préléminaire de connexion. mais j'aimerais s'il vous plais un progamme de pick and place pour tester les mouvements et la pince liée au servomoteur |
I am running into an issue when using the dorna API on Windows, Linux, and a Raspberry Pi running Rasbian. I am able to successfully connect, update firmware, and operate the arm but the arm will eventually freeze up. This freeze up seems to occur anywhere between 20 and 200 .play() move commands on my Pi and an embedded linux board using the i.MX7 processor.
The freeze up takes a little longer (after 1000 commands or so) on my Windows 10 laptop.
Once the arm freezes, .device() says that I am still connected however I get nothing but empty packets when monitoring the USB with an analyzer. I have tried different USB cables for all of my platforms.
Upon running .command({“state”:[0,1,2]}) I can also see that there are still unfinished commands in the queue (state 0 and 1). I noticed that there are always multiple (up to 4) commands in the queue with the state 1 when checking the queue upon freezing.
All my platforms are using Python3.7.3 and using the latest dorna api from github (not from pip as I was advised by dorna) and running an identical python script that has the arm pick up and place an imaginary item (if you check out the script I posted you will see that it is intended for fruit).
Any assistance by any source will be greatly appreciated!
DornaDemo2.0.txt
The text was updated successfully, but these errors were encountered: