Micro-ros-Agent and esp32 ( WSL2 setup )

Open
#194 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux, ubuntu

Research direction

Start by reproducing the reported setup with the micro_ros_agent udp4 --port 8888 entry point, checking the WSL2 portproxy and firewall configuration described in the issue. Done means the ESP32 discovers the agent and publishes messages over ROS 2 as it does on native Linux.

Written by the indexing model from the issue text.

Description

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:
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
Dominant language
C++
Stars
201
Forks
111
Avg merge
1d 6h
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from micro-ROS/micro-ROS-Agent

All issues in micro-ROS/micro-ROS-Agent

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.