-
Notifications
You must be signed in to change notification settings - Fork 337
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
Branch for kinetic? #58
Comments
Hi @jonbinney, have you been able to actually move a robot with this change on Kinetic or you only suggest a compilation error fix? I'm on 16.04/Kinetic, Polyscope 3.2.x, an UR3 robot that I used to move with this driver (with use_ros_control=True) on 14.04/Indigo same Polyscope. I found other things before being able to move the robot again by running
After all these changes, I still couldn't move the robot. Now the weird thing:
I don't see what else can be happening to avoid the initial jump, and ran out of ideas... any clue, could it be something independent of the ROS-distro that I'm missing? |
@carlosjoserg I have been using this on kinetic on ubuntu 16.04 server to control a UR10. As you point out, there are other changes that will need to be made for kinetic. My setup is a bit different than yours:
Here are the settings I'm launching the node with:
It's also possible that there are new problems if other pacakages have been updated recently; i don't think i've updated the ROS packages on the robot's computer in the last week. I'm not sure why my setup works, but you have to add the @ThomasTimm it looks like kinetic-specific code fixes are needed. Can you create a kinetic-devel branch so that we can start contributing fixes? |
Thanks @jonbinney , however, I don't see too much differences in why it didn't work here w.r.t. to your setup either, and sincerely, I don't know how it is working for you, since I finally got to the issue...and please, forget all dirty stuff I mentioned above that resulted in a weird behavior. Let me explain the issue using your commit as example. In your commit, you do the following diff: - if (controller_it->hardware_interface
+
+ if (controller_it->type But To actually get to the resource hardware interface type, you now need to do something like: Best |
What is the current state for kinetic support in ur_modern_driver? |
I'm using it on kinetic with a UR10, and I'm able to execute trajectories without any noticeable problems using the fork i mentioned in my above comment. I don't think the fixes have been merged in (no kinetic branch to put them in as noted in this issue). |
@ThomasTimm could you please create a branch for Kinetic? No need to write the code yourself -- the rest of the community can contribute. We just need a place to contribute to! (Or if you're comfortable giving privileges, I'm happy to create and maintain the branch myself.) |
Also -- I can confirm that @carlosjoserg solution of swapping every instance of |
+1, @ThomasTimm can we get a new branch? |
@carlosjoserg I have been successfully using UR3 robot in Ubuntu 16.04/Kinetic, Polyscope 3.2.x according to the suggestion from @jonbinney . @ThomasTimm If there is a new branch, maybe I can contribute something useful. |
@WangJIankun1992 Well, as far as I could see and test, iron-ox@883070d didn't work... have you tried switching controllers back and forth? @ThomasTimm A way to deal with different versions, ROS-wise and temporarily, without creating new branches is to use If you think that would be ok, I can prepare a PR this week with that approach. Any suggestion is welcome though. |
We are currently working on re-structuring the entire code in a separate branch, so that is why I am not doing much maintenance at the moment. If you still want a kinetic version, knowing that most of the code will soon be changed, then you are welcome to prepare a PR @carlosjoserg |
Thank you for responding! Great to hear you're working on improvements!
Do you plan to include new features?
If you still want a kinetic version, knowing that most of the code will soon be changed,
then you are welcome to prepare a PR
It would be great to see this as a short-time solution!
|
Thanks for the heads up, Thomas. It sounds like @carlosjoserg has a good temporary solution. The proposed change to make it Kinetic-compatible might even be helpful to you guys in your new code base. |
@carlosjoserg I use the universal_robot-kinetic-devel and replace the ur_driver with ur_modern_driver, then I change the ur_hardware_interface.cpp, specifically change controller_it->hardware_interface to controller_it->type. Finally, it works well. |
Ok @ThomasTimm ... Then I think we can wait for that to happen (at least me), thanks! |
@jonbinney & @ThomasTimm My issue is that the controller fails right away (with no arm movement what so ever) when executing giving the following warnings and error:
If i increase the path position tolerances, the same message will occur with a value slighty above the increased tolerance. I might be misinterpreting, but it seems like the controller is failing because the driver takes the commands, doesn't move the arm, resulting in the posistion tolerance being violated. Have you seen anything similar, and do you have any clues on how I can proceed? |
As a ROS noob, I'm at the mercy of the experts who know what's going on here, but it would be awesome to know a ballpark on the path forward. This driver is the only thing forcing a dual indigo/kinetic setup across a number of machines. I read "soon" re. restructuring and filled in "any day" in my mind; that was 2.5mos ago. If there are fixes from the community that work, my vote is a temporary branch to have something usable vs. waiting for the polished code release. |
@jwhendy the current status seems to be that some people, including myself, have hacked ur_modern_driver to work on kinetic from source. I've been using the the iron-kinetic-devel branch from our fork successfully since july: https://github.com/iron-ox/ur_modern_driver/tree/iron-kinetic-devel As others have pointed out, my fix doesn't work for everyone (reading comments above it sounds like others may have made better fixes). Since it has worked for me, I haven't touched this in quite a while. Meanwhile I am also curious - @ThomasTimm any update on the restructuring that you are working on? |
It is a student of mine that is working on the refactoring - you can follow the progress on https://github.com/Zagitta/ur_modern_driver/tree/refactor |
@ThomasTimm is this still in progress? |
@ThomasTimm I'm also running into the sam issue using ur_modern with kinetic and wondering if this is still in progress? |
Hello. thanks. |
@GEONEE Following commands may help you: |
Reconfirming the comment from @BenBlumer. Can we get a kinetic-dev branch to push that simple change to, @ThomasTimm ? |
Hey Felix, long time no see! I believe this thread is very much outdated by now, but nobody added a comment about that here. Back when kinetic was just released, the whole situation was a bit funny. |
Cheers, thanks for the summary :) |
Hello, any news about kinetic support yet? |
We now have a |
Thanks @jonbinney for starting the discussion and everyone else for contributing to it. |
hardware_interface has some ABI breaking changes between indigo and kinetic. I've updated ur_modern_driver to work with them in a branch in our fork: iron-ox@883070d
Those changes aren't backwards compatible with indigo though. If a new kinetic-devel branch is created, I can submit a PR.
The text was updated successfully, but these errors were encountered: