AirSim is a simulator for drones, cars and more, built on Unreal Engine
Requirement:
* NV 1050 TI graphic card
* NVIDIA cuda toolkit
* Windows 8.1 SDK
* Visual Studio 2017 community version
* Disk space: at least 25 GB
GO ...
1. Download and install the Visual Studio 2017 community from MS official website. You must select "Desktop development with C++" item.
2. Download and install the Windows 8.1 sdk from MS official website.
3. Download and install the NVIDIA cuda toolkit from
website.
Install Unreal Engine and AsiaSim
1.
Download the Epic Games Launcher.
2. Run the Epic Games Launcher, open the Library tab on the left pane.
3. Install the UE latest version.
4. Start the
x64 Native Tools Command Prompt for VS 2017 console on menu
5. Clone the repo: git clone https://github.com/Microsoft/AirSim.git and then go to the AirSim working directory
6. Open the half.h by
notepad airsim-master\airlib\deps\eigen3\src\core\arch\cuda\ sub folder
7. Save as the half.h to half.h as Unicode version.
8. Switch to Airsim-master folder
9. Run build.cmd in command line. This will create ready plugin. You can drop up to any UE project.
1. Launch the Unreal Engine Editor shortcut
2. Create the new project in BluePrint tab using Vehicle template. Set up the project name as vehicle_temp
3. Add C++ class on menu bar\ File\ New C++ Class
4. Select the None item, set up the class name as temp
5. Copy AirSim plugins folder from AirSim-Master\ Unreal subfolder to UE project folder.
# copy air-master\ Unreal\Plugins to C:\Users\%username%\Unreal Projects\
vehicle_temp
6. Close the Visual Studio 2017 and then re-open it again.
7. Right click the vehicle_temp UE project file and then select the "Generate Visual Studio project files" item. PS: Select Unreal Engine Version as 4.20 or Double click the UE4 project executable icon
8. UE4 will be launched automatically after compiled.
9. You can see the AirSlim plugin is installed on PlugIn manager.
10. Open your VS solution file by VS 2017
11. Open the xxx.uproject file
12. You can see AirSim is enabled in plugin module.
If AirSim is not enabled, please follow these scenario to edit.
1.Open the
vehicle_temp.uproject file adding the following strings.
In plugins segment:
{ "Name":"AirSim", "Enable":"true", }
In Modules segment last line:
"AdditionalDependencies": [
"AirSim"
]
2. Save the project and then exit.
3. Right click the vehicle_temp UE project file and then select the "Generate Visual Studio project files" item. PS: Select Unreal Engine Version as 4.20 or Double click the UE4 project executable icon