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

Multiple Microros agents

Aberta
#235 1 comentário 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Linguagem predominante
C++
Estrelas
201
Forks
111
Merge médio
1d 6h
PRs com merge (30d)
10

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Comece com os dois comandos ros2 run micro_ros_agent micro_ros_agent udp4 e com os endereços e portas separados do PC e da VM descritos na issue. Revise as orientações de conexão do agent e do client para os cenários solicitados de múltiplos agents e publishers e, em seguida, documente ou verifique uma configuração reproduzível para ambos os casos.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
ubuntu
Domínio
distributed-systems, networking
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.