micro-ROS / micro-ROS/micro-ROS-Agent

Multiple Microros agents

Offen
#235 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
C++
Sterne
201
Forks
111
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
10

Beschreibung

Issue template

  • Hardware description: Using linux PC Ubuntu 22.04.5
  • RTOS: none for now later will use teensy 4.0
  • Installation type: setting agent in the pc and vm directly without docker
  • Version or commit hash: foxy-microros; humble-ros2
Steps to reproduce the issue

I used the following commands to run the agent - ros2 run micro_ros_agent micro_ros_agent udp4 --port 2019 (on PC with ip 10.221.38.153) then similarly ros2 run micro_ros_agent micro_ros_agent udp4 --port 8888 (on VM with ip 10.221.38.78)

I want to try vm as one device pc as another run both the microros agents and connect it to the clients to receive the ping messages respectively.

Expected behavior

Should be able to run the multiple agents for pc and vm acting as separate devices

Actual behavior

I have the agent running
image

the ping gets sent
image

and is correctly publishing the expected pings
image

This is happening in both the devices separately
Could you please help me with further steps on how to connect both the agents(one of pc other of vm) to the respective clients on each device. so for example I have to pub msgs via say vm agent and this msg has to get subscribed to the vm subscriber(connected to pc agent)
Overall I have to try
case 1: multiple agents accessing one publisher
case 2: one agent accessing multiple publisher

Additional information

I get the impression that multiple agents is possible and listening to the specific agent has a cmd that gives the particular ip address and port via the clients/nodes or some configuration modification please help with the method

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginnen Sie mit den beiden ros2 run micro_ros_agent micro_ros_agent udp4-Befehlen sowie den separaten PC- und VM-Adressen und -Ports, die im Issue beschrieben sind. Überprüfen Sie die Anleitungen zur Verbindung von Agent und Client für die angeforderten Szenarien mit mehreren Agents und Publishern und dokumentieren oder verifizieren Sie anschließend eine reproduzierbare Einrichtung für beide Fälle.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
ubuntu
Bereich
distributed-systems, networking
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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