ROS2 installation and configuration on Ubuntu

I’m following this tutorial Course | NVIDIA from Getting Started: Simulating Your First Robot in Isaac Sim. It asks me to install ROS2.

Do I need to install Ubuntu to run ROS2 and complete the following exercises or can I install ROS2 on pure windows 11?

If only the former is possible, is there a tutorial that is better suited for beginners with no experience with Linux, Ubunto or ROS? I’m having a hardtime understanding what I need to do just by refering to Nvidia’s or ROS documentation.

Thanks.

I’m uncertain if the course is associated with Ubuntu and a specific version of Isaac Sim. If it is not, you can refer to the current version (4.5.0) documentation for guidance on installing ROS2 on Windows: ROS and ROS 2 Installation — Isaac Sim Documentation

There is a note that says
“Note
For this course, we use the Running Native ROS method on Ubuntu. Follow the instructions under: Running Native ROS > ROS 2 > Ubuntu 22.04 > Humble.”

I tried to follow the documentation provided to install it on windows but I aways run into roadblocks.
I went into Windows (binary) — ROS 2 Documentation: Humble documentation
The first requirement is for me to install Chocolatey Software | Installing Chocolatey
I tried to follow the documentation (opened a command prompt as admin and pasted the command Get-ExecutionPolicy as instructed.
Then I get this message: Get-ExecutionPolicy’ is not recognized as an internal or external command,
operable program or batch file.
And then I get stuck from here because I’m not able to install not even the first.

I tried to install each of the packages described in Windows (binary) — ROS 2 Documentation: Humble documentation separatelly, by going directly to their website and downloading and installing one by one.

Then I downloaded ROS2 for windows. I tried to run C:\ros2-windows>local_setup.bat or C:\ros2-windows>setup.bat commands for environment setup but I get this error:
“[rti_connext_dds_cmake_module][warning] RTI Connext DDS environment script not found (\resource\scripts\rtisetenv_x64Win64VS2017.bat). RTI Connext DDS will not be available at runtime, unless you already configured PATH manually.”

I tried to run ros2 run demo_nodes_cpp talker but got “failed to create process.”

And tried to run ros2 run demo_nodes_py listener and got the same error.

You should see this instruction in the Windows section:

  1. After Ubuntu 22.04 is installed in WSL2, see the instructions for installing ROS2 Humble natively in Ubuntu 22.04 in the WSL2 terminal.

and then move to this instruction in the Ubuntu 22.04 tab:

  1. Download ROS 2 following the instructions on the official website: