A copy-fork of AirSim's Unreal Engine plugin with added functionality for VTOL aircraft.
- Setup (this page)
- Development
- Maintaining the byu-magicc/AirSim Fork
This repository uses Git LFS (Large File Storage).
-
On Ubuntu 20.04, install Git LFS by running
sudo apt install git-lfs git lfs installNow use git as you normally would.
-
Install the build dependency
clangby runningsudo apt install clang- as of this writing, the
clangpackage on Ubuntu 20.04 installs clang 10 - check your version of clang with:
clang --version, then run:
sudo apt install libc++-<version>-dev- where
<version>is10for clang 10,9for clang 9, etc.
- as of this writing, the
-
Install Unreal Editor 4.25
- Follow the "Linux - Build Unreal Engine" steps in the AirSim docs
- Make sure you're on the
4.25branch before building- fastest way:
git clone -b 4.25 https://github.com/EpicGames/UnrealEngine.git
- fastest way:
- Make sure you're on the
- Follow the "Linux - Build Unreal Engine" steps in the AirSim docs
-
Clone the
byu-magicc/AirSimfork repogit clone git@github.com:byu-magicc/AirSim.git
-
Copy the
BlocksUnreal environment out of theAirSimforkcp -r ./AirSim/Unreal/Environments/Blocks ./
-
Set
AIRSIMPATHenvironment variable - you can add this (using absolute path) to your~/.bashrcor~/.zshrcto have it set for all future terminal sessionsexport AIRSIMPATH="$(pwd)/AirSim"
-
Create a
Pluginsdirectory inBlocksmkdir ./Blocks/Plugins
-
Clone this repository into
Blocks/Pluginscd ./Blocks/Plugins git clone git@github.com:byu-magicc/vtol-AirSim.git cd vtol-AirSim -
Build static library files using
build_static_libs.sh(builds rpclib, MavLinkCom, and rpc components of AirLib)./build_static_libs.sh -
Now start up Unreal Editor. You can find it at the following location (may want to make an alias for this):
/<path_to_unreal_engine_repo>/Engine/Binaries/Linux/UE4Editor -
When the editor is up and running, go to More > Browse, navigate to where you put the directory containing the Blocks project and open the file
Blocks.uproject.- If you get a prompt that says "This project was made with a different version of the Unreal Engine" and asks if you want to open a copy, instead select "More Options..." then choose "Convert in-place".
- When it prompts if you would like to rebuild the missing modules (Blocks and AirSim, which haven't been built yet), select "Yes".