Comments (20)
I had the same problem with UR5e (e-series) (UR Software 5.3.0.x). After using this fork of package:
https://github.com/jkur/python-urx/tree/SW3.5/urx
it works fine :)
from python-urx.
Hi, I also had this problem, and realized I was running the pip install urx
version, which installs an old version of this package that does not have the changes for the 3.5 UR firmware. Instead, I import urx directly from this repository and it works (I think this repo has merged many of the changes in jkur fork already?).
You can check the ursecmon.py
file to make sure it has something about psize == 47. e.g.
elif psize == 46: # It's 46 bytes in 3.2
self.version = (3, 2)
elif psize == 47:
self.version = (3, 5)
from python-urx.
Oh, yes, I just increased the time outs manually ^^; Sorry to see this just now. I will try to dig out my values later, maybe they are:
PACKET_TIMEOUT = 1.0
FIND_FIRST_PACKET_ATTEMPTS = 101
from python-urx.
I had the same problem with UR5e (e-series) (UR Software 5.3.0.x). After using this fork of package:
https://github.com/jkur/python-urx/tree/SW3.5/urxit works fine :)
Thank you !
It works fine!
from python-urx.
Try this:
http://lab.iqrobots.eu/universal-robots/universal-robots-remote-control-using-python-urx-library/
from python-urx.
@maryviktory I actually don't remember now, probably these lines
https://github.com/jkur/python-urx/blob/SW3.5/urx/ursecmon.py#L206
https://github.com/jkur/python-urx/blob/SW3.5/urx/ursecmon.py#L341
Good luck, do let issue tracker know if that works.
from python-urx.
Hi ! I'm new in all of it... Can someone tell me how I can take this new package and make it work as a casual python library please ?
from python-urx.
@MaeliseCastel Can you describe your issues in more detail? e.g. what have you tried
from python-urx.
@MaeliseCastel Can you describe your issues in more detail? e.g. what have you tried
I'm not currently at work but I can describe it and show you the entire error monday.
I used the pip install urx instruction to have the package to controll my UR5e robot. It seems that some functions work such as get_pos() but I can't use the move functions because it says that the robot stopped or something like this.
Thank you for your fast answer ! Have a nice week end !
from python-urx.
Try this:
http://lab.iqrobots.eu/universal-robots/universal-robots-remote-control-using-python-urx-library/
Unfortunately it doesn't work, I have another error now. This is the following one :
from python-urx.
But I have this error only when i try to run it for the first time. When i do some changes and I rerun the programm, this error appears but when I run it again 1min later, it's gone... I don't know what it's about
But thank you all for your fast answers !
from python-urx.
Is it possible that what worked yesterday doesn't work anymore ? Because I didn't change anything and this morning it doesn't work, nothing happens
from python-urx.
just keep pressing play. sometimes the connection doesn't come up quick enough. it seems there are some forks of python-urx that fix this problem, but just pressing play multiple times also solves it :)
from python-urx.
just keep pressing play. sometimes the connection doesn't come up quick enough. it seems there are some forks of python-urx that fix this problem, but just pressing play multiple times also solves it :)
It doesn't work for me unfortunately
from python-urx.
As per #84 I recommended sending URScript directly over serial, as in this gist: https://gist.github.com/nouyang/bac35bee6712855a4513eaaf53e5b923
from python-urx.
You can also consider using this library: https://sdurobotics.gitlab.io/ur_rtde/index.html
from python-urx.
@TomaszMolik ur_rtde is also very good indeed.
@MaeliseCastel how are you connected to the robot? for me, anything other than a direct wired connection causes tons of problems. you could try another computer to be sure, maybe your system network settings are strange.
from python-urx.
Oh, yes, I just increased the time outs manually ^^; Sorry to see this just now. I will try to dig out my values later, maybe they are:
PACKET_TIMEOUT = 1.0 FIND_FIRST_PACKET_ATTEMPTS = 101
@nouyang, Hi, where do you have these values, are those in URX library or you code them in, please clarify how to implement
from python-urx.
I do not have access to these robots anymore but if someone has a branch that works. I can put him as administrator here and he can merge his work.
from python-urx.
但是只有当我第一次尝试运行它时才会出现这个错误。当我做了一些更改并重新运行程序时,会出现此错误,但是当我在 1 分钟后再次运行时,它消失了......我不知道它是关于什么的
但感谢大家的快速答复!
Hello, I have encountered the same problem recently. How does urx control ur5e
from python-urx.
Related Issues (20)
- Does the latest package support a Polyscope version higher than 5.1(for e-series)?
- Issue in getting the status of digital inputs and digital outputs. HOT 1
- How to kill the socket connection HOT 1
- movej <wait=True> not working HOT 2
- getting collections has no attribute Iterable HOT 1
- Some functions does not work without error HOT 1
- Problem of urx.urrobot.RobotException: Robot stopped HOT 2
- how to get the result of calling `get_inverse_kin_has_solution` HOT 4
- pip install urx (install error) HOT 2
- AttributeError: 'PoseVector' object has no attribute 'tolist' HOT 10
- What versions of URX and Math3D are needed to be compatible and avoid errors?
- Python3.11 Support HOT 1
- Robot Movement Error with Rotary Encoder
- Analog sensor issue
- Entering negative x, y, z values for move j results in TimeOut
- 'PoseVector' object is not iterable when using movel HOT 3
- Data packet timeout HOT 1
- Is urx compatible with all Universal Robots series robotic arms?
- (yiye) zp@zp-ros:~/catkin_ws$ rosrun motion_planing test.py Traceback (most recent call last): File "/home/zp/catkin_ws/devel/lib/motion_planing/test.py", line 15, in <module> exec(compile(fh.read(), python_script, 'exec'), context) File "/home/zp/catkin_ws/src/motion_planing/scripts/test.py", line 2, in <module> import urx ModuleNotFoundError: No module named 'urx'
- robot.set_csys(new_csys) won't set new coordinate system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-urx.