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 install
Now use git as you normally would.
-
Install the build dependency
clang
by runningsudo apt install clang
- as of this writing, the
clang
package 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>
is10
for clang 10,9
for 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.25
branch 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/AirSim
fork repogit clone [email protected]:byu-magicc/AirSim.git
-
Copy the
Blocks
Unreal environment out of theAirSim
forkcp -r ./AirSim/Unreal/Environments/Blocks ./
-
Set
AIRSIMPATH
environment variable - you can add this (using absolute path) to your~/.bashrc
or~/.zshrc
to have it set for all future terminal sessionsexport AIRSIMPATH="$(pwd)/AirSim"
-
Create a
Plugins
directory inBlocks
mkdir ./Blocks/Plugins
-
Clone this repository into
Blocks/Plugins
cd ./Blocks/Plugins git clone [email protected]: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".