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

Micro-ros-Agent and esp32 ( WSL2 setup )

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

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

主要言語
C++
スター
201
フォーク
111
平均マージ
1日 6時間
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、エントリポイント micro_ros_agent udp4 --port 8888 を使って報告されたセットアップを再現し、issue に記載されている WSL2 portproxy とファイアウォールの設定を確認します。ESP32 が agent を検出し、ネイティブ Linux の場合と同じように ROS 2 経由でメッセージを publish できれば完了です。

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

評価

技術スタック
linux, ubuntu
領域
embedded-iot, networking, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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