A copy-fork of AirSim's Unreal Engine plugin with added functionality for VTOL aircraft.
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 running
sudo apt install clang
clang
package on Ubuntu 20.04 installs clang 10clang --version
, then run:
sudo apt install libc++-<version>-dev
<version>
is 10
for clang 10, 9
for clang 9, etc.Install Unreal Editor 4.25
4.25
branch before building
git clone -b 4.25 https://github.com/EpicGames/UnrealEngine.git
Clone the byu-magicc/AirSim
fork repo
git clone git@github.com:byu-magicc/AirSim.git
Copy the Blocks
Unreal environment out of the AirSim
fork
cp -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 sessions
export AIRSIMPATH="$(pwd)/AirSim"
Create a Plugins
directory in Blocks
mkdir ./Blocks/Plugins
Clone this repository into Blocks/Plugins
cd ./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
.