Wait, what? Are you serious?

Yeah, it is possible to install ROS in Windows, and let us see how can this happens. First of all, for the people who are not familiar with ROS, What is ROS?

Image for post
Image for post

The Robot Operating System (ROS) is a robotic middleware. Even though ROS is not an operating system, it offers services built for a heterogeneous cluster of computers such as hardware abstraction, low-level device control, widely-used functionality implementation, process-to-process messaging, and package management.

If you are working on Ubuntu, it doesn’t matter. But what for Windows people? Here we go!

To install software, you may have to satisfy the system requirements. To install ROS in windows, you need the following system requirements.

  1. You must have a Windows 10 64-bit device
  2. Also, it is recommended that you have at least 10GB of free space on your C:\ drive for installation and development.

You need Visual Studio and Microsoft SDKs for Windows to develop ROS projects for Windows. You can download the Visual Studio (Visual Studio 2019) edition here. You can choose 1 of the 3 editions available. I’m suggesting Visual Studio Community as it is Free. You can use any edition but choose an updated app.

Image for post
Image for post

You need to include Desktop development with C++ in your workload when installing it. You would need to allocate about 2.5GB of your internet data on this. If you are also developing Microsoft Windows Machine Learning (WinML), you must include the development of the Universal Windows Framework in your workload.

Find the “x64 Native Tools Command Prompt for VS 2019" item in the Start menu. Right click, choose “Run as Administrator”. Then, execute the following lines of code at once.

Approve any prompts if occurred and, once done, close the prompt to complete the installation. Open the Visual Studio Command Window as mentioned above to install Git.

Image for post
Image for post

You can ensure the success of installing Git by using this command.

Close and open the Visual Studio Command Window as mentioned above.

After setting up all these, we can now install ROS using the same terminal. Open the Visual Studio Command Prompt as Administrator as mentioned above and execute the following codes.




Image for post
Image for post

This will install the latest version ROS Noetic. In this version, you can use Python3 or above.

Build a shortcut (Right Click > New > Shortcut) in a workable folder (say Desktop). If you build it, a new window will open and ask to fill in the location of the item. Now we’ve got to copy one of the following paths as per our Visual Studio built and paste it to that shortcut path.

1.If you are using Community:

2.If you are using Professional:

3.If you are using Enterprise:

Rename the shortcut as ROS_Noetic or as you wish!

Execute roscore and see whether all are working fine or not.

If everything is working fine, start programming using ROS. You can create a Hello World program in ROS by following this tutorial.

Written by

Reading Bachelor of Science Honours in Computer Science at University of Jaffna, HND in Construction and Built Environment (Civil Engineering)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store