-
Notifications
You must be signed in to change notification settings - Fork 61
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
Create code samples #21
Comments
Yes, please. Without at least a minimal example, I find it extremely hard to use this library. |
@gonzalocasas Here are a preview of the examples I am working on: abb_librws_samples.zip Please note that they are not completely finished/fully explained, so there might be some things missing but the code should at least give you some hints about how to use the library. I hope this helps! |
@jontje thanks a lot! yes, this helps a lot! |
Hey @jontje, I'm having trouble implementing the abb_librws_samples.zip file you've included in the thread above, maybe you can help out. I'm trying to connect to a Windows machine running RobotStudio virtual controller with RW 6.09 from an external laptop running Ubuntu 14.04 and ROS Indigo. I've tried all of the example files you've included, but cannot get any response from any of them. I've attached a sample output (with IP censored) from the a1_collect_info_node:
I'm pretty sure the RWS Server is running fine on the Windows side, I followed the steps at http://developercenter.robotstudio.com/blobproxy/devcenter/Robot_Web_Services/html/index.html under "Discovery" and received an IP and proper node name. I can also ping between the two computers, and have already established a working EGM connection. Right now I've tried to implement this using both a barebones VC running RW 6.09 with the sample RAPID code you provided in the abb_librws_samples.zip file, and another VC running the StateMachine Add-In separately. Neither gets any response. One thing I wasn't sure about: do I need to do any setup on the RobotStudio side in order to allow the RWS to access the VC data? If you have any suggestions, they'd be greatly appreciated. |
This is most likely the issue where RWS won't accept requests from a non-local IP. See #47. |
Hi @rsaltus, I think @gavanderhoorn is correct. Just to verify the issue, then you can try the following:
As @gavanderhoorn mentioned, you can try the workaround suggested in #47 |
Thanks for your help @gavanderhoorn and @jontje, the issue was exactly like you guys thought. I implemented the proxy server workaround in #47 and it worked like a charm. |
Hey @jontje , i download the abb_librws_samples.zip, but not find the RobotStudio Pack&Go file RWSSamplesSolution.rspag in abb_librws_samples file , can you reupdate this abb_librws_samples.zip. Thanks a lot. |
Hi @lijianhualeigua, here is an updated zip-file: abb_librws_samples.zip I have added a Pack&Go file based on RobotWare 6.08.01, as well as added some launch files for the different ROS nodes. I hope this helps! Also, I am currently out-of-office so I might be slow to reply to questions. |
Thanks for your help @jontje . |
Hello everyone. I do not know if this is the right place to ask? |
It isn't really needed to be in
Yes, but you must request mastership over the Last time I tried the request mastership approach, then it didn't work so well. So you could try to use the registerLocalUser(...) method and then use registerRemoteUser(...) to unregister. |
Thank you very much for the answer, it is very much appreciated. Maybe it makes a difference? But I work with the robot itself and not virtual through RobotStudio.
Have also tried with |
Create samples to showcase how to use the interface classes, including:
The text was updated successfully, but these errors were encountered: