Closed nali12 closed 5 years ago
I am running the following command:
roslaunch abb_irb120_support robot_interface_download_irb120_3_58.launch robot_ip:=<ip_address>
Just making sure: you are specifying a real IP here (ie: 1.2.3.4
), not <ip_address>
, correct?
Also: make sure the Windows firewall is not blocking RobotStudio from accepting incoming connections.
Edit: just noticed this:
Virtual machine: Parallels.
that will probably complicate things. So just to make sure: Windows is the host, and Ubuntu is running inside Parallels? How is the networking configured? You'll want to check on which Windows IP RobotStudio opens the ports, because that is also important here.
Yes, I am specifying the static IP that I set on my Windows Computer. Windows is the host and Ubuntu is inside Parallels. Windows computer is connected to Wifi, I don't know if that matters too. Inside ROS_socket I set the IP assigned in my windows PC:
IF (SocketGetStatus(server_socket) = SOCKET_CREATED) SocketBind server_socket, "192.168.1.2", port;
Can you ping the Windows IP from the Parallels VM?
I would still try to disable the firewall, just for a test.
As I'm pretty sure this is a configuration issue very specific to your setup (and not a problem with the pkg in this repository), I'm going to close this issue.
If it turns out there is actually something we can fix by changing abb_driver
or any of the other pkgs, we'll re-open.
Feel free to keep commenting on this issue though.
You could try using "0.0.0.0"
in ROS_socket
to make sure it binds to all your interfaces (especially for a virtual controller, for real controllers you might want to be pickier in choosing only the right one).
And as @gavanderhoorn, make sure you can ping your Windows IP from within the virtual machine, and if that doesn't work, check the networking mode you have selected in Parallels (Bridged
might be the easiest to work with, since the VM behaves just as another machine on the same network as the host machine's network).
I tried to ping the IP from the Virtual machine Linux, but it doesn't work, even though I set an static IP in VMware network adapter VMnet1 . I also disabled the Firewall. And I used 0.0.0.0 as IP, but still the same problem appears. Maybe I set the IP in the wrong way?, or what could I have done wrong?
I tried to ping the IP from the Virtual machine Linux, but it doesn't work, even though I set an static IP in VMware network adapter VMnet1 .
So now you are using VMware?
Note: you cannot just change the IP of the VMware adapter. That is the adapter of the host inside the vm, not the IP of the Ubuntu guest.
I also disabled the Firewall. And I used 0.0.0.0 as IP, but still the same problem appears. Maybe I set the IP in the wrong way?, or what could I have done wrong?
My advice would be to read up on VM configuration wrt networking.
Try using the bridge configuration as suggested by @gonzalocasas, and undo your changes to the VMware adapter.
When I wanted to set an static IP in my Windows PC, I went to network connections. Here I found:
So are you using VMware or Parallels? Those are two entirely different products.
To make clear I have two computers. A mac running Parallels, inside installed Linux Ubuntu 14.06 and another computer Windows. Mac is connected to Ethernet and Windows PC to wifi.
And where is RobotStudio running? On the Windows machine?
Tbh this is really not an issue with abb_driver
.
You'll have to make sure that your Windows machine and the Ubuntu guest are able to communicate with each other. Easiest would be to put them on the same network (ie: subnet). Routed would also be possible, but harder to configure.
A good test is being able to ping
both hosts from each other. If that doesn't work, there's a high chance nothing else will work either.
To make clear I have two computers. A mac running Parallels, inside installed Linux Ubuntu 14.06 and another computer Windows. Mac is connected to Ethernet and Windows PC to wifi.
I'm thoroughly confused by how changing the settings on the VMware adapter would ever work here, seeing as VMware is not used on either the Windows machine nor the Mac.
Yes, RobotStudio is running in Windows. Indeed, I made a mistake changing the setting of the VMware adapter, that doesn't have anything to do with this.
Hi @nali12, I am currently experiencing this issue. Did you manage to come to a solution?
So, I am unable to make the
abb_driver
to communicate with my robot in RobotStudio. I am running the following command:roslaunch abb_irb120_support robot_interface_download_irb120_3_58.launch robot_ip:=<ip_address>
, but the only error I get are the following:and the VC just keep showing the same message
I am using
robot_interface_download_irb120_3_58.launch
from the repositoryabb_experimental
(http://wiki.ros.org/abb_experimental). My system is Ubuntu 16.04, withROS kinetic
, Virtual machine: Parallels. In order to control the robot in RobotStudio I installed the ABB ROS server following all the tutorials (http://wiki.ros.org/abb/Tutorials).