TCP connection failed in Unity in Pick and Place Tutorial—part 2 (using docker)
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Bereich
- devops, game-dev, networking
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- C#
- Sterne
- 2.6k
- Forks
- 473
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Unity-Technologies/Unity-Robotics-Hub
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
-
ROS2,ActionOffen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 20/100
-
Force/Torque sensorOffen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · 1 Kommentar ·
Alle Issues in Unity-Technologies/Unity-Robotics-Hub
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 3 Tagen
-
bug python
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
Maintainer antworten meist innerhalb von 13 Tagen
-
documentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
juandresrodca/AdminForge#66 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
umbraco/Umbraco.Automate#612 ·
Maintainer antworten meist innerhalb von 1 Tag