Problem connecting ROS ABB driver and RobotStudio

464 views
Skip to first unread message

keerthana....@gmail.com

unread,
Jul 24, 2017, 12:33:24 PM7/24/17
to swri-ros-pkg-dev
I am running Ubuntu 16.04 with Kinetic Kame. And I have a Windows10 VM in VirtualBox, I have RobotStudio 6.05 running in the WindowsPC. The IPv4 address in the Windows machine is 10.10.20.12.

I followed the tutorials as in ROS Wiki
1. http://wiki.ros.org/abb/Tutorials/RobotStudio
3. http://wiki.ros.org/abb/Tutorials/RunServer

so I modified the lines in GetSysInfo() patch with 10.10.20.12 as the IP address like 

IF (SocketGetStatus(server_socket) = SOCKET_CREATED) SocketBind server_socket, "10.10.20.12", port;
Now, I launch RobotStudio and virtual flex pendant. I put the controller in Manual mode and start the program

On the flexpendant, I have this showing on the flexpendant: 
ROS_StateServer->StateServer: Waiting for connection.
ROS_MotionServer->MotionServer: Waiting for connection.

On the ROSPC, I try 
roslaunch abb_irb1600_support robot_interface_download_irb1600.launch robot_ip:=10.10.20.12, it waits for a while and I get "Failed to connect to server" and a bunch more reds.

So what is it I'm doing wrong here, how to establish a connection with RobotStudio with ROS ABB Driver? I'm pretty sure something is wrong with the socket communication, but I can't seem to put my finger on what exactly is wrong! I also get the error in the attached screenshot on the flexpendant when I press 'play' in the program.

TLDR; I can't seem to establish the connection between WindowsPC and ROSPC

Let me know anything which might be useful to fix this problem. Thank you!
Screenshot from 2017-07-23 17-07-09.png

G.A. vd. Hoorn - 3ME

unread,
Jul 24, 2017, 2:58:48 PM7/24/17
to swri-ros...@googlegroups.com
On 24-7-2017 18:32, keerthana....@gmail.com wrote:
> I am running Ubuntu 16.04 with Kinetic Kame. And I have a Windows10 VM in
> VirtualBox, I have RobotStudio 6.05 running in the WindowsPC. The IPv4
> address in the Windows machine is 10.10.20.12.
[..]
> On the flexpendant, I have this showing on the flexpendant:
> *ROS_StateServer->StateServer: Waiting for connection.*
> *ROS_MotionServer->MotionServer: Waiting for connection.*
>
> On the ROSPC, I try *roslaunch abb_irb1600_support
> robot_interface_download_irb1600.launch robot_ip:=10.10.20.12*, it waits
> for a while and I get *"Failed to connect to server" *and a bunch more reds.
[..]

can you make sure the Win10 firewall allows remote access to the ports
used (ie: 11000 and 11002)?


Gijs

keerthana....@gmail.com

unread,
Jul 25, 2017, 2:58:33 PM7/25/17
to swri-ros-pkg-dev
Hi Gijs,

I allowed the Win10 to respond to pings, I followed these instructions: https://kb.iu.edu/d/aopy 
And I can ping Win10 from my ROSPC and vice versa.

How do I check if it has access to these ports though?

G.A. vd. Hoorn - 3ME

unread,
Jul 25, 2017, 3:19:11 PM7/25/17
to swri-ros...@googlegroups.com
On 25-7-2017 20:58, keerthana....@gmail.com wrote:
> Hi Gijs,
>
> I allowed the Win10 to respond to pings, I followed these instructions:
> https://kb.iu.edu/d/aopy
> And I can ping Win10 from my ROSPC and vice versa.
>
> How do I check if it has access to these ports though?

You'll want to make sure there is an 'allow rule' for RobotStudio in
your firewall config, and it is correctly configured for either public
or private networks, or both.

Random link where this is explained: [1].


Gijs

[1]
http://www.dummies.com/computers/pcs/computer-security/how-to-allow-firewall-exceptions-on-your-windows-10-laptop/


> On Monday, July 24, 2017 at 1:58:48 PM UTC-5, gavanderhoorn wrote:
>>

keerthana....@gmail.com

unread,
Jul 25, 2017, 4:24:53 PM7/25/17
to swri-ros-pkg-dev
omg that was the problem! I allowed for private networks also to access for RobotStudio. I can't believe this.
Thank you very much!
Reply all
Reply to author
Forward
0 new messages