xArm-Developer / xArm-Python-SDK

Python SDK for UFACTORY robots, 850, xArm5/6/7, and Lite6.
https://www.ufactory.cc
BSD 3-Clause "New" or "Revised" License
180 stars 112 forks source link

Error code 19 #82

Open MahmoudMas00 opened 1 year ago

MahmoudMas00 commented 1 year ago

we are giving the robot our position in the code (its legal values as the boundaries defined) but we still getting error code c19 (End Module communication error). to describe the case we turn on the vacccum gripper and let the robot moves until the force sensor give a sign that there is collision.. any explanation that we should take cases in account? thanks in advance.

penglongxiang commented 1 year ago

C19 is the communication error between robot end module and the vacuum gripper, it has nothing to do with the robot position. Could you please cutoff the robot power by emergency stop, make sure the cable is properly connected, then power on again, enable the robot and then try to control the vacuum gripper? If the C19 error still can not be eliminated, please contact us by email at support@ufactory.cc and refer this issue.

MahmoudMas00 commented 1 year ago

this error occurs just when I am trying to connect to the robot using Python SDK, but while I am doing it manually using the web interface it doesn't happen. this is the scenario, I am running the robot via Python, and when initializing I am turning on the vacuum gripper and immediately I get this error, when I clear the error manually from the web interface the code continues to run. any suggestion?

MinnaZhong commented 1 year ago

Hi @MahmoudMas00

Please provide a sample script for us to reproduce the problem. What are the firmware and UFACTORY Studio version? What API do you use for initialization?

MahmoudMas00 commented 1 year ago

Hi,There is an option to schedule zoom/teams meeting to review together? Sent from my iPhoneOn 20 Jun 2023, at 7:09, Minna @.***> wrote: Hi @MahmoudMas00 Please provide a sample script for us to reproduce the problem. What are the firmware and UFACTORY Studio version? What API do you use for initialization?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

MinnaZhong commented 1 year ago

Hi @MahmoudMas00 ,

Sure, please send an email to support@ufactory.cc, and we can have a quick video call.

weiwei808 commented 2 months ago

Hi @MinnaZhong , I also facing same problem when using Python SDK to control my xarm lite 6 vacccum gripper, and when i using ufactory to control it, the problem is gone. How can I solve this problem, thanks

MinnaZhong commented 2 months ago

Hi, Wei

Do you use xArm or Lite6? Which API do you use? For Lite6, you need to use open_lite6_gripper, close_lite6_gripper, stop_lite6_gripper.