-
Notifications
You must be signed in to change notification settings - Fork 219
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
Need instruction: How ROS connect to Kuka robot KR6 / KR16 etc with KRC4? #46
Comments
The On the ROS side there isn't really that much to configure, apart from getting the I agree the current documentation is a bit sparse and assumes you already have a good grasp of the various technologies involved (RSI, @tingelst: could you perhaps expand kuka_rsi_hw_interface/krl/README.md a bit with some more details on getting the controller side & RSI working? For the ROS side: I've recently created a MoveIt configuration and some convenience launch files for the KR 6 R900 sixx, but haven't merged them in the main repository because they need some testing. See my kr6r900sixx_moveit_rsi_convenience branch for that. Note that as part of that effort, I tried to abstract the The robot support packages are layed out according to the ROS-Industrial conventions, see Working with ROS-Industrial Robot Support Packages for more info on that. The MoveIt configuration allows for the typical |
@gavanderhoorn: I will update the README next week. |
Great, thanks. We could then probably also point to that to resolve questions like MoveIt and ROS-Industrial: No controller_list specified. I've not had other reports about it, but it looks like some users are encountering issues with the file naming of the RSI related files under the |
Yes, I have also gotten some feedback on that. I will fix those issues as well. |
Unfortunately it's no longer in a separate branch, but it looks like @pgorczak has done some work on this already (in pgorczak/kuka_experimental@678dc0b2). |
@gavanderhoorn I can confirm the files from your mentioned commits work however their filenames are too long, creating untraceable errors (it was a hunch of a colleague to make the filenames shorter and lo, it fixed them) |
Many thanks for support. The moveit demo under kr6r900sixx_moveit_rsi_convenience also works here, we are struggling executing real robot with RSI interface, so far not successful yet. If we manage it I will try to document every steps for similar users. BR |
@gavanderhoorn Sorry not successful yet... up untill yesterday... Our team is quite a newbie for both ROS and RSI, indeed we nail down the issue to the fundamental connection failure of RSI interface and was trying to run the testServer.exe shipped with newest RSI package ( we just got from kuka and installed them). Looking up for the information is a headache...We are at the stage of configuring the IPs and click the X+ X- button and try to hear the moving sound from the real robot :( My best guess is as soon as the RSI path get through we will be very close to the goal... and I will update our test then. |
@gavanderhoorn Many thanks for tips and also thanks @bj0rkedal for the good instruction of HowTo for RSI settting up.
and also successfuly run the real driving test with command to run Step2, Oops!
But we still did not manage to run your ros moveit planning excuting example, our steps include:
we can bring up rviz but the robot seems moving its arm in a fast repeating manner, without any user input. We try to fill in ip,port click connect without anything happen, and in planning part its not working. Sorry for the basic question, Is there any issue with our steps? why it need to fill in ip /port and do connect? I thought RSI thing dont need to be taken care of at this stage |
it would be nice if you could describe those issues, as that may allow us to either solve them, or at least document them.
Why the 'Oops'?
No, you don't want to run anything else when you start What you did starts an instance of a simulated robot and a connection to your real robot. Joint states from those two are going to conflict, which is why you probably saw the robot 'flicker' in place.
If you mean you entered ip & port into this: then that won't work, no. That is for a MoveIt database connection. Notice how it says "Warehouse" above the input fields. I guess I assumed some familiarity with how ROS-Industrial robot support packages & MoveIt configurations and launch files work (have you read Working With Ros-industrial Robot Support Packages?), but for now:
As I wrote earlier: without the Note that you need to make sure you actually have a KR 6 R900 sixx: the launch and config files are not meant to be used with something else. You can test your connection with it, and see whether you get joint states back, but all of this is not guaranteed to work. Joint space motions will work (although your EEF will not end up where you want it to), but setting Cartesian pose targets will obviously not (as the kinematics most likely won't correspond). Note also that the |
We will probably have to document some assumptions about expected experience with KUKA controllers, RSI and ROS(-Industrial) packages and workflows to avoid running into these issues in the future @tingelst, @bj0rkedal. |
@gavanderhoorn Many thanks for detailed instruction! We will try to test as you suggest next week. -Why the 'Oops'? We were just very excited to see that the mouse click suddenly move the robot acutally :) Our final goal is to run ROS moveit with vision guidance on both KR6 and KR16 robots in real project, so we are very encouraged when we see the progress. Extra documentation about KRC and RSI and ROSI is definitely a great idea for new comer. Thanks again! |
@yaozr no problem.
Well, yes and no: industrial robots always come with lots of documentation, and robot vendors have extensive support departments to help their customers out. It doesn't make much sense for us in ROS-Industrial to go and duplicate some of that. I'd rather we refer to vendor documentation wherever possible. Everything considered, the We do need to document all of our assumptions on the ROS side, and definitely include info on how we interact with RSI though. |
@gavanderhoorn BTW we notice Delft teams great performance in APC2016, it says your solution is open source but we did not find it anywhere? Our project is similar and we wish to do it with our Kuka robots. |
This is rather off-topic, but: the press releases state that it will eventually be released. We haven't had time to do that yet. The application wasn't developed 'in the open' initially, and so will have to be released. |
I also am not able to run the real robot with the |
@cschindlbeck: please open a new issue for this. And please include the exact command line you use to start things (and in which order). |
We have to put our hand on a KR6R700sixx now due to company project shuffling usage of all robots... anyhow @cschindlbeck 's finding in his closed issue does solve our problem too... Now the moveit actually move the robot ! In planning and executing mode, the robot seems just move the initial path and then start to shaking at one position without moving forward, but that might be due to the R700 robot thing. Finally it seems this is working now, many thanks for everyone especially @gavanderhoorn kind support ! so I close this question and thanks again. |
no, that should not happen, no matter which support package or variant you are using. I'm not sure we can help you debug that, but if you can report that as a separate issue, we can at least track it. |
@gavanderhoorn Hello, I am new for ROS and KUKA robot. Nice to find many kind people here. My lab has bought a KUKA KR150 with KRC2. I wish to use ROS to build a platform and do some reseach with force control. But I don't know whether KR150 is well supported. I have seen some people said they made it with kr6, kr16, kr120 and iiwa as the KUKA experimental packages include. So, could you tell me if the KUKA KR150 is able to connect ROS? If I should do some change or somethings special to notice? There are some scattered tutorials for connect ROS and KUKA from answers of these issues. I will try to do it these days. Many thanks! (This is my first time to make a comment at the github. Thank you in advance.) |
@happygaoxiao: please see the readme in the As to compatibility with KR C2, see #74. PS: in the future, could you please either ask these sort of question on ROS Answers, or open a new issue? It's not too nice to hijack an old and closed thread like this. |
Could you update the link? in the above post: @happygaoxiao: please see the readme**<--(Link not working)** |
The documentation is linked from the wiki/kuka_rsi_hw_interface page. |
Ah I found it to be here |
We are running automation project selecting KR6 and we wish to use ROS package to save our R&D time.
Great job you have done! Its however frustrating to find any useful info on web about how PC could really get connect to a ie. Kr6 R900 KRC4 controller or the similar Kuka robot, the thing I have tried including doing KUKAHardwareManager.exe -assign OptionNIC -os WIN (fine), disabling StartKRC from startup(fine), connect my PC to KONI Ethernet Port (fine), setup bothside IP and ping each other(fine), but roslaunch anything fail to respond.It says on web that Ethernet/IP is shipped with KRC4? I guess this would be a common issue for new commer, is there any simple instruction exist? Many thanks for tips...
Is it so that for any KRC4 robot by using kuka_rsi_hw_interface we can skip all the changing NIC mess above and simply use the smartpad and controller as it is, just install those programs will help build up the tcp/ip channel?
How nice if someone could add a few lines for this HW interface usage in the first place Readme, such as how to start this driver from smartpad and how to run a actural ros sesstion step by step... Many thanks in advance.
The text was updated successfully, but these errors were encountered: