Multiple Microros agents

Offen
#235 1 Kommentar 0 Reaktionen 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
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
ubuntu

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.

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

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

Beitragsleitfaden

Beitragsleitfaden öffnen

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 micro-ROS/micro-ROS-Agent

Alle Issues in micro-ROS/micro-ROS-Agent

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

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