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

Micro-ros-Agent and esp32 ( WSL2 setup )

未關閉
#194 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
C++
星號
201
分支
111
平均合併
1 天 6 小時
30 天內合併 PR
10

描述

## Issue template

- Hardware description: Dell Inspiron 15 (Ubuntu 20.04 wsl2)
- RTOS: ESP32 Node MCU
- Installation type: micro_ros_setup
- Version or commit hash: foxy

#### Steps to reproduce the issue
- Set the micro-ros credentials through the command "idf.py menuconfig";
- Compile and flash the INT32_SUB_PUB example on esp32;

In the Ubuntu 20.04 wsl2 Host machine:
* Windows 11 side:
- Open the windows power shell as admin user and type: "netsh interface portproxy add v4tov4 listenport=8888 listenaddress=0.0.0.0 connectport=8888 connectaddress="
- Go to the firewall and create a new inbound rule for port 8888 ;
* Ubuntu 20.04 wsl2 side:
- install the micro-ROS package and dependencies following this tutorial: https://micro.ros.org/docs/tutorials/core/first_application_linux/
- run the micro_ros_agent: "ros2 run micro_ros_agent micro_ros_agent udp4 --port 8888"
#### Expected behavior
I was expecting the same behavior when use a native linux machine: the esp32 finding the ros agent and publishing messages over ros2.
#### Actual behavior
Esp32 tries to connect to the ros agent but it is not finding it and eventually i get this message on the esp32 monitor: "Failed status on line 57: 1. Aborting".
#### Additional information

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先使用進入點 micro_ros_agent udp4 --port 8888 重現回報的設定,並檢查 issue 中描述的 WSL2 portproxy 與防火牆設定。當 ESP32 發現 agent,並如同在原生 Linux 上一樣透過 ROS 2 發布訊息時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
linux, ubuntu
領域
embedded-iot, networking, operating-systems
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。