# How to connect TurtleBot3 to Windows (WSL2)

**URL:** https://discourse.openrobotics.org/t/how-to-connect-turtlebot3-to-windows-wsl2/49906
**Category:** ROS General
**Tags:** ros2
**Created:** [September 4, 2025, 3:14pm UTC](https://discourse.openrobotics.org/t/how-to-connect-turtlebot3-to-windows-wsl2/49906 "2025-09-04T15:14:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JeremyLebon](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/jeremylebon/32/8986_2.png) [@JeremyLebon](https://discourse.openrobotics.org/u/JeremyLebon)
#### Post date: [September 4, 2025, 3:14pm UTC](https://discourse.openrobotics.org/t/how-to-connect-turtlebot3-to-windows-wsl2/49906/1 "2025-09-04T15:14:59Z")

</div>

I’m setting up a lab environment for my students and have replaced the Raspberry Pi 4 on the TurtleBot3 with a Raspberry Pi 5, so all logic now runs directly on the robot.

The challenge: most of my students use Windows PCs. I’d like to use WSL2 and a Docker container to connect to the TurtleBot3 via USB or over a Wi-Fi access point. However, I haven’t been able to get communication working between the TurtleBot3 and WSL2.

Is this even possible? Has anyone managed to get this setup running? I’d appreciate any guidance or tips.

---

<div class="post-metadata">

### Author: ![RobertKeyser](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@RobertKeyser](https://discourse.openrobotics.org/u/RobertKeyser)
#### Post date: [September 4, 2025, 5:14pm UTC](https://discourse.openrobotics.org/t/how-to-connect-turtlebot3-to-windows-wsl2/49906/2 "2025-09-04T17:14:23Z")

</div>

Not sure about the specifics of the TurtleBot, but here are the steps I used to get my USB devices to show up in WSL

Getting USB devices to show up in WSL:

- [GitHub - dorssel/usbipd-win: Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL 2.](https://github.com/dorssel/usbipd-win)
- IN WINDOWS as ADMIN:
- $ usbipd list
- $ usbipd bind --busid=
- $ usbipd attach --wsl --busid=
- $ usbipd

---

<div class="post-metadata">

### Author: ![JeremyLebon](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/jeremylebon/32/8986_2.png) [@JeremyLebon](https://discourse.openrobotics.org/u/JeremyLebon)
#### Post date: [September 17, 2025, 2:29pm UTC](https://discourse.openrobotics.org/t/how-to-connect-turtlebot3-to-windows-wsl2/49906/3 "2025-09-17T14:29:35Z")

</div>

I could solve the problem. I nowcan connect from windows pc with rviz to the turtlebot3.

See small [tutorial](https://www.linkedin.com/pulse/finally-ros-2-communication-between-wsl2-turtlebot3-jeremy-lebon-ie80e). Enjoy
