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

Multiple Microros agents

オープン
#235 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
C++
スター
201
フォーク
111
平均マージ
1日 6時間
マージ済み PR(30日)
10

説明

## 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](https://github.com/user-attachments/assets/1d417ac3-98c2-4d1f-9f7d-375a25119170)

the ping gets sent
![image](https://github.com/user-attachments/assets/255aa61b-d8cb-40d7-a7b7-c2485f33b08e)

and is correctly publishing the expected pings
![image](https://github.com/user-attachments/assets/d6421b5c-d13e-4e07-98a4-5cb81844d83d)

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Issue に記載されている 2 つの `ros2 run micro_ros_agent micro_ros_agent udp4` コマンドと、PC および VM の個別のアドレスとポートから始めます。複数の agent と publisher を使用する要求されたシナリオについて、agent と client の接続ガイダンスを確認し、その後、両方のケースで再現可能なセットアップを文書化または検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ubuntu
領域
distributed-systems, networking
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。