Git Product home page Git Product logo

Comments (20)

TomaszMolik avatar TomaszMolik commented on June 29, 2024 14

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.

nro-bot avatar nro-bot commented on June 29, 2024 6

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.

nro-bot avatar nro-bot commented on June 29, 2024 2

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.

GraceKafuu avatar GraceKafuu commented on June 29, 2024 1

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 :)

Thank you !
It works fine!

from python-urx.

TomaszMolik avatar TomaszMolik commented on June 29, 2024 1

Try this:
http://lab.iqrobots.eu/universal-robots/universal-robots-remote-control-using-python-urx-library/

from python-urx.

nro-bot avatar nro-bot commented on June 29, 2024 1

@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.

MaeliseCastel avatar MaeliseCastel commented on June 29, 2024

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.

nro-bot avatar nro-bot commented on June 29, 2024

@MaeliseCastel Can you describe your issues in more detail? e.g. what have you tried

from python-urx.

MaeliseCastel avatar MaeliseCastel commented on June 29, 2024

@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.

MaeliseCastel avatar MaeliseCastel commented on June 29, 2024

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 :
Screenshot from 2020-07-06 10_24_57

from python-urx.

MaeliseCastel avatar MaeliseCastel commented on June 29, 2024

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.

MaeliseCastel avatar MaeliseCastel commented on June 29, 2024

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.

kritzikratzi avatar kritzikratzi commented on June 29, 2024

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.

MaeliseCastel avatar MaeliseCastel commented on June 29, 2024

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.

nro-bot avatar nro-bot commented on June 29, 2024

As per #84 I recommended sending URScript directly over serial, as in this gist: https://gist.github.com/nouyang/bac35bee6712855a4513eaaf53e5b923

from python-urx.

TomaszMolik avatar TomaszMolik commented on June 29, 2024

You can also consider using this library: https://sdurobotics.gitlab.io/ur_rtde/index.html

from python-urx.

kritzikratzi avatar kritzikratzi commented on June 29, 2024

@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.

maryviktory avatar maryviktory commented on June 29, 2024

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.

oroulet avatar oroulet commented on June 29, 2024

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.

majunqiao avatar majunqiao commented on June 29, 2024

但是只有当我第一次尝试运行它时才会出现这个错误。当我做了一些更改并重新运行程序时,会出现此错误,但是当我在 1 分钟后再次运行时,它消失了......我不知道它是关于什么的

但感谢大家的快速答复!
Hello, I have encountered the same problem recently. How does urx control ur5e

from python-urx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.