-
Notifications
You must be signed in to change notification settings - Fork 275
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
AttributeError: 'PoseVector' object has no attribute 'tolist' #117
Comments
got the same error. have you solved it? |
I also got this error. It seems related to the addition of the math3d library. The following function will also give an error:
It seems in general there has been some degradation in working with tposes. I will try to dive into it somewhere this or next week. |
In the meantime, downgrading to version 0.8.2 works fine if you change this line to False:
|
When you change this line https://github.com/SintefManufacturing/python-urx/blob/0.11.0/urx/robot.py#L211 |
It didn't works with this change I use the last version. Another idea? |
I have chosen another package called Universal_Robots_ROS_Driver. No problems so far. You can try it out. Good luck! |
HI this worked but have you found a better solution in the mean time ? :D |
Please fix!! I got it too |
This does not allow movej to work. It lets movel to work though. We need all functionality please. |
Also had this issue, but fixed it in In addition to the fix here: #117 (comment), which addresses using the Change this line: Line 313 in c5dba85
to this: prog = self._format_move(command, tpose.array, acc, vel, prefix="p")
Similarly, modify this line: Line 316 in c5dba85
to this: self._wait_for_move(tpose.array[:6], threshold=threshold)
It's likely you'll get a constant stream of terminal output warning about deprecation with the I tested that the |
|
The python version is 3.11. The problem is as follows:
C:\Users\YHT.conda\envs\ur5py311\python.exe E:/UR/myproj1/test.py
tried 11 times to find a packet in data, advertised packet size: -2, type: 3
Data length: 44
tried 11 times to find a packet in data, advertised packet size: -2, type: 3
Data length: 68
tried 11 times to find a packet in data, advertised packet size: -2, type: 3
Data length: 1092
tried 11 times to find a packet in data, advertised packet size: -2, type: 3
Data length: 1418
Traceback (most recent call last):
File "E:\UR\myproj1\test.py", line 10, in
pose = rob.getl() # x,y,z,rx,ry,rz
^^^^^^^^^^
File "C:\Users\YHT.conda\envs\ur5py311\Lib\site-packages\urx\robot.py", line 211, in getl
return t.pose_vector.tolist()
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PoseVector' object has no attribute 'tolist'
The text was updated successfully, but these errors were encountered: