🖍️
gitbook_docs
  • Introduction
  • Machine Learning
    • Recommended Courses
      • For Undergrad Research
      • Math for Machine Learning
    • ML Notes
      • Covariance Correlation
      • Feature Selection
      • Linear Regression
      • Entropy, Cross-Entropy, KL Divergence
      • Bayesian Classifier
        • Terminology Review
        • Bayesian Classifier for Normally Distributed classes
      • Linear Discriminant Analysis
      • Logistic Regression
        • Logistic Regression Math
      • Logistic Regression-MaximumLikelihood
      • SVM
        • SVM concept
        • SVM math
      • Cross Validation
      • Parameter, Density Estimation
        • MAP, MLE
        • Gaussian Mixture Model
      • E-M
      • Density Estimation(non-parametric)
      • Unsupervised Learning
      • Clustering
      • kNN
      • WaveletTransform
      • Decision Tree
    • Probability and Statistics for Machine Learning
      • Introduction
      • Basics of Data Analysis
      • Probability for Discrete Random Variable
      • Poisson Distribution
      • Chi-Square Distribution
      • P-value and Statistical Hypothesis
      • Power and Sample Size
      • Hypothesis Test Old
      • Hypothesis Test
      • Multi Armed Bandit
      • Bayesian Inference
      • Bayesian Updating with Continuous Priors
      • Discrete Distribution
      • Comparison of Bayesian and frequentist inference
      • Confidence Intervals for Normal Data
      • Frequenist Methods
      • Null Hypothesis Significance Testing
      • Confidence Intervals: Three Views
      • Confidence Intervals for the Mean of Non-normal Data
      • Probabilistic Prediction
  • Industrial AI
    • PHM Dataset
    • BearingFault_Journal
      • Support Vector Machine based
      • Autoregressive(AR) model based
      • Envelope Extraction based
      • Wavelet Decomposition based
      • Prediction of RUL with Deep Convolution Nueral Network
      • Prediction of RUL with Information Entropy
      • Feature Model and Feature Selection
    • TempCore Journal
      • Machine learning of mechanical properties of steels
      • Online prediction of mechanical properties of hot rolled steel plate using machine learning
      • Prediction and Analysis of Tensile Properties of Austenitic Stainless Steel Using Artificial Neural
      • Tempcore, new process for the production of high quality reinforcing
      • TEMPCORE, the most convenient process to produce low cost high strength rebars from 8 to 75 mm
      • Experimental investigation and simulation of structure and tensile properties of Tempcore treated re
    • Notes
  • LiDAR
    • Processing of Point Cloud
    • Intro. 3D Object Detection
    • PointNet
    • PointNet++
    • Frustrum-PointNet
    • VoxelNet
    • Point RCNN
    • PointPillars
    • LaserNet
  • Simulator
    • Simulator List
    • CARLA
    • Airsim
      • Setup
      • Tutorial
        • T#1
        • T#2
        • T#3: Opencv CPP
        • T#4: Opencv Py
        • Untitled
        • T#5: End2End Driving
  • Resources
    • Useful Resources
    • Github
    • Jekyll
  • Reinforcement Learning
    • RL Overview
      • RL Bootcamp
      • MIT Deep RL
    • Textbook
    • Basics
    • Continuous Space RL
  • Unsupervised Learning
    • Introduction
  • Unclassified
    • Ethics
    • Conference Guideline
  • FPGA
    • Untitled
  • Numerical Method
    • NM API reference
Powered by GitBook
On this page
  • Requirements
  • Install On Windows
  • Install Unreal Engine
  • Install Git for Windows
  • Install Visual Studio
  • Download AirSim
  • Build AirSim
  • Build Unreal Project
  • Troubleshooting
  • Building Error message of Error C2220
  • Clashes of VS 2017 and VS2019. How to force Unreal to use Visual Studio 2019

Was this helpful?

  1. Simulator
  2. Airsim

Setup

A short tutorial on how to install Airsim on Window 10.

PreviousAirsimNextTutorial

Last updated 3 years ago

Was this helpful?

Read airsim docs on how to build Airsim on widows for more detailed information

For Airsim v. and Unreal Engine >=4.22

Updated 2020-6

Requirements

  • Window 10

  • NVIDIA Graphic card & Driver

  • Unreal engine >=4.22

  • Visual Studio 2019 (English version)

  • Git for windows

Install On Windows

Install Unreal Engine

  1. ​ the Epic Games Launcher. While the Unreal Engine is open source and free to download, registration is still required.

    ​​​‌

  2. Run the Epic Games Launcher, open the Library tab on the left pane. Click on the Add Versions which should show the option to download Unreal 4.24 as shown below. If you have multiple versions of Unreal installed then make sure 4.24 is set to current by clicking down arrow next to the Launch button for the version.

    Note: AirSim also works with UE >= 4.22, however, we recommend you update to 4.24.

​‌

Install Git for Windows

  • Use default settings to install

Install Visual Studio

  • Install Visual Studio 2019.

    Note: Use English for the VS2019 language. If you choose Korean, you may need to convert 'UTF Encoding' is some AirSim source files.

  • Make sure to select Desktop Development with C++ and Windows 10 SDK 10.0.18362 (should be selected by default) while installing VS 2019.

Download AirSim

  • Start Git Bash or Git GUI

  • Move to the target directory to install AirSim. Use cd command to change directory

  • Clone the AirSim repo by typing

git clone https://github.com/Microsoft/AirSim.git

Build AirSim

  • Open Command Prompt for VS2019

  • Move to the installed AirSim directory by cd AirSim.

  • Run build.cmd from the command line. This will create ready to use plugin bits in the Unreal\Plugins folder that can be dropped into any Unreal project.

Build error: If the build error message is related to UTF decoding Go to FAQ #1

Build Unreal Project

Finally, you will need an Unreal project that hosts the environment for your vehicles. AirSim comes with a built-in "Blocks Environment" which you can use, or you can create your own.‌

Troubleshooting

Building Error message of Error C2220

The initial setting for VS2019 gives the warning as the compile error. This error has to do with some sources have some characters encoded which shows warning by the compiler.‌

  • Open the header/source files that gives encoding warning with VS2019

  • Save As with Save with Encoding: Encoding UTF-8 with signature

Clashes of VS 2017 and VS2019. How to force Unreal to use Visual Studio 2019

If different versions of Visual Studio are installed. such as VS2017 and VS 2019, Unreal may be associated with VS2017. Building an AirSim project in VS2019 with Unreal associated with VS2017 can give build error.‌

Need to Change the Unreal configuration to associate with VS2019‌

  • Open C:\Users$user\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml

  • Modify as following

    <?xml version="1.0" encoding="utf-8" ?><Configuration xmlns="https://www.unrealengine.com/BuildConfiguration"><BuildConfiguration>    </BuildConfiguration>    <VCProjectFileGenerator>        <Version>VisualStudio2019</Version>    </VCProjectFileGenerator>​    <WindowsPlatform>        <Compiler>VisualStudio2019</Compiler>    </WindowsPlatform></Configuration>

​

​ Git for Windows (lastes source, release 2.27.0)

Please see .‌

Also, see for more detail.‌

​​‌

https://microsoft.github.io/AirSim/build_windows
Download
Download
setting up Built-in Block Environment
setting up Unreal Environment