-
Notifications
You must be signed in to change notification settings - Fork 8
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
My x-arm is not moving. #3
Comments
I haven’t tested this code in a while and kind of forgot what the error messages might mean. I won’t be able to look into this for a few days but meanwhile can you check that your hid raw device is created properly and your permissions are also set correctly based on the instructions in the README?
Anton
…---
On Dec 29, 2020, at 7:39 AM, Hassan Ismail <[email protected]> wrote:
My USB is detected by the Ubuntu Linux Machine, When I tried to launch the comman python xarm_hardware_interface/scripts/controller.py` inside the xArm_Lewansoul_ROS folder the following error shown.
<easyhid.easyhid.Enumeration object at 0x7f04df105110>
Traceback (most recent call last):
File "xarm_hardware_interface/scripts/controller.py", line 227, in
demo()
File "xarm_hardware_interface/scripts/controller.py", line 188, in demo
arm = XArm()
File "xarm_hardware_interface/scripts/controller.py", line 52, in init
assert len(devices) > 0
AssertionError
Closing xArm device
Exception AttributeError: "XArm instance has no attribute 'dev'" in <bound method XArm.del of <main.XArm instance at 0x7f04e20197d0>> ignored
What to do now?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fadeguet1%2Flewansoul-xarm%2Fissues%2F3&data=04%7C01%7Canton.deguet%40jhu.edu%7C1768e42c9d4646dada1708d8abf6ce54%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637448423798197649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=tGcR2nU22oGPwnqVtDZ%2BlxuGYhuOoW03Od7ECTVzCWY%3D&reserved=0>, or unsubscribe<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAIRP47FKF45VKRBSVJFKGLSXHEX3ANCNFSM4VNFKXJA&data=04%7C01%7Canton.deguet%40jhu.edu%7C1768e42c9d4646dada1708d8abf6ce54%7C9fa4f438b1e6473b803f86f8aedf0dec%7C0%7C0%7C637448423798197649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UpCfiWgiNLYW9WjupPYYymrAim3n97bqJhdRQaSdOCk%3D&reserved=0>.
|
I think I there is no any need to connect Arduino? I connect X-arm board directly to the USB of my laptop. Is it OK? |
This seems to be a problem due to the use of easyhid. It just flat out doesn't work, even outside this program. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My USB is detected by the Ubuntu Linux Machine, When I tried to launch the comman
python
xarm_hardware_interface/scripts/controller.py` inside the xArm_Lewansoul_ROS folder the following error shown.<easyhid.easyhid.Enumeration object at 0x7f04df105110>
Traceback (most recent call last):
File "xarm_hardware_interface/scripts/controller.py", line 227, in
demo()
File "xarm_hardware_interface/scripts/controller.py", line 188, in demo
arm = XArm()
File "xarm_hardware_interface/scripts/controller.py", line 52, in init
assert len(devices) > 0
AssertionError
Closing xArm device
Exception AttributeError: "XArm instance has no attribute 'dev'" in <bound method XArm.del of <main.XArm instance at 0x7f04e20197d0>> ignored
What to do now?
The text was updated successfully, but these errors were encountered: