Micro-ros-Agent and esp32 ( WSL2 setup )

未关闭
#194 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
linux, ubuntu

调研方向

首先使用入口点 micro_ros_agent udp4 --port 8888 重现报告中的设置,并检查 issue 中描述的 WSL2 portproxy 和防火墙配置。当 ESP32 发现 agent 并像在原生 Linux 上一样通过 ROS 2 发布消息时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
C++
星标
201
派生
111
平均合并
1 天 6 小时
30 天内合并 PR
10

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

micro-ROS/micro-ROS-Agent 的其他 Issue

查看 micro-ROS/micro-ROS-Agent 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。