UR3: connection to PC refused
Dear all, I'm using ROS melodic on Ubuntu 18.04 with Kernel 5.3.0.59-generic a UR3 Robot.
After a lot of problems by trying to use my UR3 with ROS, I decided today to delete my catkin_ws folder and install everything new.
Now I got a problem, what in my opinion, has nothing to do with this. On friday I was able to connect the UR3 with the PC, now on monday I decided to install everything new (so unfortunally I havn't tested before, if a connection is possible or not) and now I'm no longer able to connect the UR3 with my PC. The computer shows me, that he is connected via Hub to the Robot when I check it via ping 131.246.27.113
in the terminal.
But if I want to run the program externalcontrol on the UR (which worked fine on friday) it shows me:
The connection to the remote PC could not be established
Then I can stop the program or go on, but it doesn't work both ways.
I tried to connect it without the hub, diretly to the PC's ethernet port, but this doesn't worked as well. I also installed the externalcontrol a second time under a alternating program name, both doesn't work.
I really have no idea what is going on..
Kind Regards Eike
The IP you mention is apparently one from the Technische Universitaet Kaiserslautern and is a public IP.
This seems to suggest you're using the networking infrastructure of the university to connect your ROS PC to your robot.
I would not recommend you do this for various reasons:
If possible, this would actually be the preferred solution. Or at least, a good one to make sure you have everything working correctly software-wise, without having to diagnose all sorts of network ...(more)
Do not use
131.246.27.113
or any IP which starts with131.246
or similar. Use IPs from the private IP ranges.Note: if your ROS PC only has a single NIC, you may temporarily lose connection to the internet. That would be expected.
I would recommend to first sort out your network and only then start working on any other issues.