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

Multiple Microros agents

Đang mở
#235 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
C++
Star
201
Fork
111
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
10

Mô tả

## 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với hai lệnh `ros2 run micro_ros_agent micro_ros_agent udp4` cùng các địa chỉ và cổng riêng của PC và VM được mô tả trong issue. Xem lại hướng dẫn kết nối agent và client cho các kịch bản được yêu cầu với nhiều agent và publisher, sau đó ghi lại hoặc xác minh một thiết lập có thể tái lập cho cả hai trường hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
ubuntu
Lĩnh vực
distributed-systems, networking
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.