USB HID Interfacing Problem of 6 DOF robotic arm in ROS.

asked 2021-01-21 11:17:15 -0500

HASSAN ISMAIL gravatar image

updated 2022-04-30 13:35:23 -0500

lucasw gravatar image

Hello Everyone, I am controlling 6 DOF lewansoul xarm. For which I created URDF and all the other necessary things but I am facing a serious issue in Hardware interfacing.

When I tried to clone this code. Lewan Soul Code 1 the following error came.

Traceback (most recent call last):
  File "/home/robotics/hassan_ws/src/lewansoul-xarm/scripts/xArm-ros.py", line 42, in <module>
    ros_main()
  File "/home/robotics/hassan_ws/src/lewansoul-xarm/scripts/xArm-ros.py", line 16, in ros_main
    controller = lewansoul_xarm.controller()
  File "/home/robotics/hassan_ws/src/lewansoul-xarm/src/lewansoul_xarm/controller.py", line 59, in __init__
    raise Exception('no device detected, make sure the arm is powered, connected and you have read-write permissions on /dev/hidraw')
Exception: no device detected, make sure the arm is powered, connected and you have read-write permissions on /dev/hidraw
closing xArm controller
Exception AttributeError: "'controller' object has no attribute '_arms'" in <bound method controller.__del__ of <lewansoul_xarm.controller.controller object at 0x7f20e33fc4d0>> ignored

however I already connected my robotic arm with the Linux but I am confused why my arm is not interface with it and why its is giving this error.

edit retag flag offensive close merge delete