TCP connection failed in Unity in Pick and Place Tutorial—part 2 (using docker)

Offen
#384 3 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

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
Tech-Stack
csharp, docker, unity

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".

trouble

“远程主机强迫关闭了一个现有的连接” 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.
rossettings
unitysettings

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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Unity-Technologies/Unity-Robotics-Hub

Alle Issues in Unity-Technologies/Unity-Robotics-Hub

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.