TCP connection failed in Unity in Pick and Place Tutorial—part 2 (using docker)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Domaine
- devops, game-dev, networking
Piste de recherche
Reproduce the failure by running roslaunch niryo_moveit part_2.launch and pressing Play in Unity with the reported versions and Docker setup. Start at ROSConnection.cs:854 and use the provided connection logs to determine why 127.0.0.1:10000 closes; done means the tutorial establishes the TCP connection successfully or the setup limitation is documented.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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):
- Unity Version: Unity 2020.3.35f1
- Unity machine OS + version: Windows 10
- ROS machine OS + version: Ubuntu 18.04, ROS Melodic
- ROS–Unity communication: Docker
- Branch or version: v0.7.0
- Langage dominant
- C#
- Étoiles
- 2.6k
- Forks
- 473
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Unity-Technologies/Unity-Robotics-Hub
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
-
ROS2,ActionOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
-
Is the project deprecated?Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 20/100
-
Force/Torque sensorOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · 1 commentaire ·
Toutes les issues de Unity-Technologies/Unity-Robotics-Hub
Issues similaires
-
DXF with empty names failsOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 3 jours
-
bug python
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
Les mainteneurs répondent en général sous 13 jours
-
documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
juandresrodca/AdminForge#66 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
umbraco/Umbraco.Automate#612 ·
Les mainteneurs répondent en général sous 1 jour