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

Multiple Microros agents

Aperta
#235 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
C++
Stelle
201
Fork
111
Merge medio
1g 6h
PR unite (30g)
10

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con i due comandi ros2 run micro_ros_agent micro_ros_agent udp4 e con gli indirizzi e le porte separati del PC e della VM descritti nell'issue. Esamina le indicazioni sulla connessione dell'agent e del client per gli scenari richiesti con più agent e publisher, quindi documenta o verifica una configurazione riproducibile per entrambi i casi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
ubuntu
Ambito
distributed-systems, networking
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.