Install ROS2 on Windows (with WSL2)

preview_player
Показать описание
Learn how to install ROS2 on Windows, using Ubuntu on WSL2. Step by step tutorial

⏱️ Chapters
(00:00) Intro
(00:40) Install WSL2
(03:03) Install Ubuntu on WSL2
(05:34) Install GWSL
(06:53) Install ROS2
(10:42) Setup ROS2

Рекомендации по теме
Комментарии
Автор

Unfortunately, GWSL is no longer free on the microsoft store

divyamkumar
Автор

Didn't know about that program. Thanks for the tutorial.

Electronzap
Автор

Thanks for great tutorial! I have problem running gazebo. Is there any other steps to make it run not mentioned here?

szdings
Автор

BEWARE THAT WHEN YOU ENTER YOUR PASSWORD TO CREATE THE ACCOUNT ON TERMINAL (this'll happen if you have already downloaded ubuntu but now WSL) NO LETTERS WILL SHOW UP. But your inputs as your new password are still be acknowledged by the program. I was confused and had to reset whole password lol

kursatsaimtuna
Автор

Can we follow this to install ros2 in windows 11??

kvishnu
Автор

please share the link for this documentation

Fanaindel
Автор

I am using Untuntu 22.04 in WSL trying to install ROS2.
After following the tutorial in ROS2 website, I am stuck with the step
source /opt/ros/humble/setup.bash
I am unable to run ROS2 with the command ros2 even after I have sourced setup.bash.
I have double checked I am using Bash shell.
Found no solutions on the internet.
Anyone know what's the issue and how to solve it.
Greatly appreciated!

smsciwh
Автор

can you post the website link of ros2 website

anussqadeer
Автор

But we can download it on windows itself, then why use the WSL2 to ultimately install it on linux, like what is the point?

jatinsaini
Автор

why its stuck like this
Installing: Virtual Machine Platform
Virtual Machine Platform has been installed.
Installing: Windows Subsystem for Linux
Windows Subsystem for Linux has been installed.
Installing: Ubuntu
27.0%

akashkarn
Автор

Hello, after the ros-humble-desktop step I got an error like unable to locate package ros-humble-desktop. Can you help me?

merthac
Автор

Is the process same for windows 11? Thanks.

abhisheknagabhushan
Автор

Hello, I get an error in the last step and only in the last one.
-bash: /opt/ros/foxy/setup.bash: No such file or directory

fabianricardoperezgutierre
Автор

Thank you for great tutorial
I'm (trying to) using ROS2 on WSL2 but I have issue about accessing the physical robots from the WSL2.
I'm trying the port forwarding by netsh but ROS2 in WSL2 didn't access the ros packages on LAN network that robots published.
After several days effort, I realize UDP packages are not forwarded to the WSL2. Only TCP packets are forwarding to to WSL2.
This is very annoying why netsh cannot forward UDP packets. The ROS2 DDS are completely working with UDP packets. I'm stuck just in here 😵‍💫
Did you have face & solve this problem? do you have suggestion to solve this issue?

ozanaki