<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[WSL 配置fishbot_tool 的通信问题]]></title><description><![CDATA[<p dir="auto">求助：<br />
成功配置雷达版的，端口号8889，可以实现双向通信； 但是配置驱动板的时候WSL可以ping 向小车，但是小车显示ping timeout， 小车无法ping向WSL，端口号UDP 8889<br />
<img src="/forum/assets/uploads/files/1775999371205-d747000d-c42a-40e6-8965-370d21d3e823-image-resized.png" alt="d747000d-c42a-40e6-8965-370d21d3e823-image.png" class=" img-fluid img-markdown" /><br />
<img src="/forum/assets/uploads/files/1775999421384-5e48b419-88b7-4961-9bf6-345b7ad07b20-image.png" alt="5e48b419-88b7-4961-9bf6-345b7ad07b20-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fishros.org.cn/forum/topic/4761/wsl-配置fishbot_tool-的通信问题</link><generator>RSS for Node</generator><lastBuildDate>Wed, 26 Aug 2026 20:54:22 GMT</lastBuildDate><atom:link href="https://fishros.org.cn/forum/topic/4761.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 Apr 2026 13:11:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WSL 配置fishbot_tool 的通信问题 on Thu, 16 Apr 2026 13:25:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fishros.org.cn/forum/uid/32183">@scottzhou</a> 已经解决，通过</p>
<h2>6.2 解决WLS 网络通信问题，WSL 的IP地址与Windows 地址不一致</h2>
<pre><code>1. 新建
C:\Users\你的用户名\.wslconfig
2. 复制
[wsl2]
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoMemoryReclaim=gradual
3. 关闭
wsl --shutdown
4.检查
hostname -I
5. ROS 环境变量（WSL 内）
# 临时生效
export ROS_MASTER_URI=http://$(hostname -I | awk '{print $1}'):11311
export ROS_IP=$(hostname -I | awk '{print $1}')

# 永久生效（写入 ~/.bashrc）
echo "export ROS_MASTER_URI=http://$(hostname -I | awk '{print $1}'):11311" &gt;&gt; ~/.bashrc
echo "export ROS_IP=$(hostname -I | awk '{print $1}')" &gt;&gt; ~/.bashrc
</code></pre>
<p dir="auto">source ~/.bashrc</p>
]]></description><link>https://fishros.org.cn/forum/post/19599</link><guid isPermaLink="true">https://fishros.org.cn/forum/post/19599</guid><dc:creator><![CDATA[scottzhou]]></dc:creator><pubDate>Thu, 16 Apr 2026 13:25:11 GMT</pubDate></item></channel></rss>