-
Notifications
You must be signed in to change notification settings - Fork 64
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
Docker setup for real robot control #217
Comments
@jwwood17 When you start the container, have to set the the network as |
Unfortunately I get the same issue. I tried both with host and bridge through docker run and through docker compose. I also tried running docker in wsl instead of windows, but I always get the same error. I can always ping the robot successfully, but it won't connect. |
Oddly enough, it did work when I ran the same docker container on an ubuntu 20.04 computer. That doesn't solve the problem, but maybe it helps diagnose it. It's ironic and strange that the docker container is performing differently on two different hosts. |
Then this would be a connection issue from the windows side., you can check the windows firewall. |
@gautham-nf That's a good thought. I have tried temporarily disabling the firewall and it didn't help, but maybe it could have something to do with the docker build. To my understanding docker on windows runs containers inside a linux vm. Maybe that's the issue. I'll try to make a windows platform image and see if I can get it to run natively and if that works or not. |
This setup was working for me on my Linux. For some reason it stopped working. I had made no change.. I started to get warning message on my DART display "[1.3004]Client T/P authentication failed" Really weird that it worked, and then it stopped working. |
I actually experienced the same thing. It stopped working on my linux computer for no reason. I also determined that you can't make a native windows docker container for this purpose. I did manage to get the connection to work through a virtual machine on the windows computer. Both through the vm and through the docker container running in the vm. I'm not really sure why it works now when it hasn't previously, but I set the vmware vm up with two virtual networks. The first is bridged and the second is a NAT. The NAT gives it wifi access and the bridged ethernet connection lets it connect to the robot. |
compose.yml
Dockerfile
I am trying to control an m1013 robot arm on my windows machine using a docker container running in Ubuntu 20.04 with ROS noetic. I've attached my Dockerfile and compose.yml.
When I run the following code, I get several errors as the connection fails on an assertion in the dsr_hw_interface.cpp file.
I have properly set the ip address of the robot to 206.207.65.90 on the teach pendant and my windows machine is 206.207.65.91 on the same network. I can connect to the robot successfully on our linux computer, but not through the docker container. I am able to ping the robot through both the container and the host computer.
This is a screenshot of the captured traffic during the roslaunch call in wireshark.
It is worth noting that I've had a similar issue in trying to connect to the robot through a virtual machine that I also have not been able to solve. #164
Any assistance in getting this to work would be greatly appreciated. 20.04 is quickly becoming an outdated operating system and I would like to be able to control the robot from a more up-to-date environment.
The text was updated successfully, but these errors were encountered: