I want to use unity to connect to multiple ROS systems, but it doesn't seem to work

Offen
#401 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
20/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
csharp, unity
Bereich
game-dev, robotics

Rechercherichtung

Start with ROSConnection and its static instance, IP, and port methods. Determine how separate connection configurations and lifecycles would need to be represented for simultaneous ROS systems, then define a completion check that confirms distinct IP and port pairs can remain connected at the same time.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I want to use unity to connect to multiple ROS systems, but the code in ROSConnection to create the ros connection instance is static, which means it can always connect to only one ROS system. I wonder if there is another way to connect multiple ROS systems (different IP and port) at the same time.

public static void DrawConnectionArrows(bool withBar, float x, float y, float receivedTime, float sentTime, bool isPublisher, bool isSubscriber, bool hasError);
public static Color GetConnectionColor(float elapsedTime, bool hasConnection, bool hasError);
public static ROSConnection GetOrCreateInstance();
public static bool IPFormatIsCorrect(string ipAddress);
public static void SetIPPref(string ipAddress);
public static void SetPortPref(int port);

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.