-
Notifications
You must be signed in to change notification settings - Fork 404
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
TCP connection failed in Unity in Pick and Place Tutorial—part 2 (using docker) #384
Comments
I transformed the ros part to another machine(ubuntu 20.04) and everything worked fine, but I still want to run on docker.. |
Hi @owlmoo I could run ubuntu connection on v.18.04 but when I upgraded to 20.04 it fails. In the tutorial I enter command: Did you have a problem in 20.04 when using python3? I read Ubuntu 20.04 uses python3 and I'm wondering if the ros packages prepared by unity are for python2 and would only run on Ubuntu 18.04. |
@sergiosolorzano Hi, I have this problem too, ros noetic support python3, and I just re-link the python interpreter using : |
Describe the bug
I follow the instruction to set up the docker and unity. However, when I hit play, I cannot build the connection.
In unity, it reports "Connection to 127.0.0.1:10000 failed" and "The remote host forcibly closed an existing connection".
“远程主机强迫关闭了一个现有的连接” means "The remote host forcibly closed an existing connection".
To Reproduce
In the ros side, I just source the setup.bash and run the part2.launch(roslaunch niryo_moveit part_2.launch).
In the unity side, I just follow the instuction and hit play.
Console logs / stack traces
Connection to 127.0.0.1:10000 failed - System.IO.IOException: Unable to write data to the transport connection: 远程主机强迫关闭了一个现有的连接。 UnityEngine.Debug:Log (object) Unity.Robotics.ROSTCPConnector.ROSConnection/<ConnectionThread>d__115:MoveNext () (at Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/TcpConnector/ROSConnection.cs:854) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()
Environment (please complete the following information, where applicable):
The text was updated successfully, but these errors were encountered: