Giter Site home page Giter Site logo

ros_on_windows's Introduction

ROS_on_Windows

This repository consists of all the commands that you need to install ROS on Windows 10 in 3 Simple Steps

Step 1

Install Visual Studio:

Download Visual Studio Community 2017 - https://bit.ly/visualstudiocommunity2017
Download Visual Studio's Latest Version - https://visualstudio.microsoft.com/vs/

Step 2

Set path for installation of Chocolatey

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Make directory for Chocolatey to install packages

mkdir c:\opt\chocolatey

Set the directory for installation

set ChocolateyInstall=c:\opt\chocolatey

Test Chocolatey by installing git

choco install git -y

Give the source to install ROS for Windows to Chocolatey

choco source add -n=ros-win -s="https://aka.ms/ros/public" --priority=1

Install full desktop version of ROS Melodic which includes Gazebo, RViz and other packages

You can replace melodic with noetic if you wish to install ROS Noetic

choco upgrade ros-melodic-desktop_full -y 

It will take some time to download based upon your Internet Connection

If you have reached till here and found these steps helpful,
please give a โญ to this repository by clicking on the option on top-right corner of the page ๐Ÿ™‚
This will help me make more such useful tutorials for you. Thank You! โœŒ๐Ÿป

Step 3

Paste the following in the location of your shortcut

C:\Windows\System32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64&& set ChocolateyInstall=c:\opt\chocolatey&& c:\opt\ros\melodic\x64\setup.bat
  • If you are using different version of Visual Studio i.e. Professional or Enterprise other than Community, then replace the Community folder in the path by your respective version name.
  • Also if you are using any other Year's version of Visual Studio other than 2017, then replace 2017 with your version's year
  • And finally depending upon your version of ROS, you can replace Melodic with Noetic

ros_on_windows's People

Contributors

pranshutople avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.