micro-ROS / micro-ROS/micro-ROS-Agent
Micro-ros-Agent and esp32 ( WSL2 setup )
Nessuno ha ancora preso questa issue.
- Lingua principale
- C++
- Stelle
- 201
- Fork
- 111
- Merge medio
- 1g 6h
- PR unite (30g)
- 10
Descrizione
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=<wsl2_ip_address>"
- 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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo la configurazione segnalata con l'entry point micro_ros_agent udp4 --port 8888, verificando la configurazione di WSL2 portproxy e del firewall descritta nell'issue. Il lavoro è completato quando l'ESP32 rileva l'agent e pubblica messaggi tramite ROS 2 come fa su Linux nativo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- linux, ubuntu
- Ambito
- embedded-iot, networking, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100