Install ROS2 on Windows (with WSL2)

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 37

  • @divyamkumar1339
    @divyamkumar1339 10 месяцев назад +30

    Unfortunately, GWSL is no longer free on the microsoft store

  • @kursatsaimtuna7163
    @kursatsaimtuna7163 Год назад +6

    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

  • @Husky_Tech
    @Husky_Tech Год назад

    Thank you so much for this tutorial

  • @merthac6644
    @merthac6644 6 месяцев назад +3

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

    • @rodrigoalbertocamposarangu9684
      @rodrigoalbertocamposarangu9684 4 месяца назад

      Did you solve it? I need help with the same thing

    • @merthac6644
      @merthac6644 4 месяца назад

      @@rodrigoalbertocamposarangu9684 I figured it out buddy. It was happening due to Ubuntu version issue. When I installed the Ubuntu version in the video, the problem was solved. This error occurs in the latest version.

    • @rodrigoalbertocamposarangu9684
      @rodrigoalbertocamposarangu9684 4 месяца назад

      @@merthac6644 so weird Im following step by step the video and continues the same error.

  • @jakkalashnit4554
    @jakkalashnit4554 23 дня назад

    i have tried enabling and disabling the features for virtual machine on window still the graphical interface for ubuntu is not opening . Can somebody help?

  • @Electronzap
    @Electronzap Год назад

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

  • @canmenevseoglu9692
    @canmenevseoglu9692 11 дней назад

    Do I need GWSl when I have windows 11? GWSL isnt free anymore

    • @cocodayow
      @cocodayow 7 дней назад

      have you figured it out buddy

  • @DanSon-k9y
    @DanSon-k9y 6 месяцев назад +2

    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!

    • @KarthikR-vv5mp
      @KarthikR-vv5mp 2 месяца назад

      Bro same issue for me

    • @balliboi1197
      @balliboi1197 Месяц назад

      you don't have to use the command to run ROS2. I had a similar confusion when shifting from ROS1 to ROS2 but that is not the case anymore.
      If you have multiple terminal windows running (like using terminator for eg) then make sure to source setup.bash, or just add the line at the end of the .bashrc file. [ echo "source /opt/ros/foxy/setup.bash" >> ~/.bashrc ]
      as long as your publisher and subscriber scripts in your code files are written properly, it should all work

  • @ketillhjartarson-v8c
    @ketillhjartarson-v8c Год назад +1

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

    • @RoboticsBackEnd
      @RoboticsBackEnd  Год назад

      unfortunately I haven't tried gazebo on WSL2 yet! I will probably make some new video when I try

  • @Venaber
    @Venaber 5 месяцев назад +2

    any free alternative for GWSL?

    • @RSF02
      @RSF02 Месяц назад +1

      have u got the answer ?

  • @vijithsreevalsam7979
    @vijithsreevalsam7979 2 месяца назад

    please help to use wsl2 for ros Noetic master slave configuration

  • @akashkarn1793
    @akashkarn1793 Год назад

    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%

  • @kvishnu9553
    @kvishnu9553 Год назад +2

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

    • @amvbros
      @amvbros 3 месяца назад

      yes you could even use both new version of ubuntu and ros2

  • @fabianricardoperezgutierre856
    @fabianricardoperezgutierre856 6 месяцев назад

    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

    • @timhayes2317
      @timhayes2317 6 месяцев назад

      He's installing humble. Foxy is a older build. So the file is at /opt/ros/humble/setup.bash

  • @Fanaindel3
    @Fanaindel3 9 месяцев назад

    please share the link for this documentation

  • @jatinsaini7790
    @jatinsaini7790 Год назад

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

  • @abhisheknagabhushan5326
    @abhisheknagabhushan5326 Год назад +1

    Is the process same for windows 11? Thanks.

    • @alexouwu
      @alexouwu Год назад +2

      He is using Windows 11, so it is the same process

  • @rodrigoalbertocamposarangu9684
    @rodrigoalbertocamposarangu9684 4 месяца назад

    how can i uninstall all of these?

  • @isthisyouprachi
    @isthisyouprachi Год назад

    How do we do it without wsl2

  • @anussqadeer3181
    @anussqadeer3181 11 месяцев назад +1

    free alternate of gwsl

  • @anussqadeer3181
    @anussqadeer3181 11 месяцев назад

    can you post the website link of ros2 website

  • @adityavardhanjain
    @adityavardhanjain 3 месяца назад +2

    #MakeGWSLFreeAgain

  • @ozanaki
    @ozanaki Год назад

    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?

    • @RoboticsBackEnd
      @RoboticsBackEnd  Год назад +2

      Unfortunately I don't have much experience with ROS2 and Windows, I stick to Ubuntu. Sorry I can't help more :/

    • @ozanaki
      @ozanaki Год назад

      @@RoboticsBackEnd Thank you for your reply 🙂 I begun to use two separate computer that one of my Windows Laptop and other is Ubuntu desktop development PC. I am writing my codes on Ubuntu via SSH from my Window Laptop now without any connection issues. So I stick to both 🙃