-
Notifications
You must be signed in to change notification settings - Fork 27
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
Staubli-DH: Offset parser to URDF #35
Comments
I would certainly be interested in adding support for this in some way to the staubli packages here. It would be interesting to see whether and if so, how this connects to ros-industrial/universal_robot#414.
that I wouldn't know right now. FTP might be an option, but it would have to configured on the controller. Might perhaps also be accessible through the XML-RPC server (the parameters I mean, not the file necessarily)? |
Our DH-Parameters actually consist of 6 parameters not of the conventional 4. Or what do you mean by "connects to"?
That is actually not a bad idea at all, since the log in data is always the same for each controller and the robot ip has to be entered anyways when using the val3 driver.
That would probably be the cleanest way I think. Is there actually a way to set up an XML-RPC server on the controller? In order to use the corrected parameters in ros, I see two possible ways:
What do you think? |
I was more referring to the approach that is being used in ros-industrial/universal_robot#414.
Afaik FTP security can be configured, so it wouldn't necessarily be identical for all controllers, but that's an implementation detail.
IIRC all CS8 controllers have a built-in XML-RPC server.
updating Updating the urdf could be done, but I'd recommend taking a look at ros-industrial/universal_robot#414 where a separate Generating new I would strongly suggest always keeping the robots as xacro macros instead of urdfs as otherwise composability is immediately lost. Finally: in any case calibrated versions / data should be hosted by separate ROS packages. The original files should not be changed. |
Where can I find the documentation to communicate with the xml rpc server? I had a quick look at the val3 handbook and the SRS2019 handbook.
I like the way you Pointed out of integrating the Offsete using yaml files. But writing a parser in order to convert the parameters to a valid ROS format is still needed right? |
I'm not entirely sure, it's been a while since I've worked with Staublis. I'll have access to one in about 2 weeks, so I could take a look then. I might be mistaken, but I'm pretty sure there is one on CS8 controllers.
Well, "valid ROS format" would be
I'd stick with Python. Emitting |
Alright. Will do that.
By valid, i meant the representation of transformations in xacro-files. |
Ah, ok. You're probably already aware, but all transforms are 6D transforms relative to the parent frame, using But The referenced PR against |
I had a look at that PR and everything you said sounds reasonable. The only thing I did not find was the "post-processing" script you just mentioned. Is it already available somewhere?
Yes, I am aware of that. Besides that, I figured that staubli is using the |
@nilsmelchert: I'm curious to know whether you've made any progress with this? |
@gavanderhoorn : I had to take a break concerning this small project due to some side projects in my job. But the first results looked pretty good. |
Still interested in your progress @nilsmelchert: any updates? |
🛎️ |
+1 to this idea, would love to take a look at your approach |
Hi, I still have not forgotten this little project and get back at it as soon as I can. Probably in about 2 weeks. |
Is there anything you could use help with? |
I might. But first I would have to describe the approach that I am following mathematically here. |
Not really convenient, but a few options:
perhaps nicer (but require some setup):
|
The latter looks interesting. I will create a repo and link it as soon as I am done. |
Still interested in this :) |
While I (and others) would still be interested in this, I guess @nilsmelchert is not working on this any more. Closing for now. We can re-open at a later time. |
Hello, I know this issue has been closed, but I was wondering if anyone has tackled this since then ? |
Hi,
buying a Staubli robot, you can additionally order a robot calibration, which consists of DH-Offsets. These identified offsets can then be found on the CS8 controller in the
arm.cfx
file and has the following format:Where
OFFSET_IN_DEG
andOFFSET_IN_MM
are the corresponding offsets of "their" DH-Representation. By "their", I mean, that the conventional DH notation consists only of 4 instead of 6 parameters.I just wrote a small parser in Python, which is able to consider those offsets and parse them to the URDF format.
Now regarding my two questions:
arm.cfx
file from a running controller (Maybe some sort of socket connection)?The text was updated successfully, but these errors were encountered: