Download an AirSim environment from the AirSim releases page. I like AirSimNH, CityEnviron, and Warehouse. Extract it to:
C:\dev\Airsim Environments\
Download Visual Studio 2017 Community from the Microsoft website and install it with c++ tooling.
Download the Epic Games Installer and install Unreal Engine 4.18.
Install ROS2 Crystal Clemmys by using the Windows binary installation instructions found here. Extract it to:
C:\dev\ros2-crystal\
If you didn't do it while installing ROS2, install OpenCV 3.4.1 using this link. Extract it to:
C:\dev\opencv\
Add the ROS2 and OpenCV binaries to your path by opening the start menu and typing environment variables and then clicking on Edit the system environment variables. Then click the Environment Variables... button, double click Path in the User variables for ___ menu, and then adding the following two entries to the list:
C:\dev\opencv\build\x64\vc15\bin
C:\dev\ros2-crystal\bin
C:\dev\ros2-crystal\Lib
...and clicking OK on the three open windows.
Clone this repository to your C:\dev\ folder.
Copy the settings.json file to your ~\Documents\AirSim\ folder. If it doesn't exist, run AirSim once to create it.
Run a new x64 Native Tools Command Prompt for VS 2017 window in administrative mode and navigate to the C:\dev\AirSim\ directory, then run build.cmd.
Open the AirSim.sln solution file in Visual Studio 2017. Select the Build -> Rebuild Soultion item from the menu bar.
If it works, you're ready!
To open AirSim, open one of the environment directories and double click the run.bat file. If desired, modify this file to include the flags: -ResX=640 and -ResY=480 in order to not have to resize it every time.
Double click the start-airsim.bat script located in this repository's root directory.
To stop, use ctrl-c on the running process.