Skip to content
Jason Stanley edited this page Nov 18, 2025 · 14 revisions

Welcome to the erl_flightmare wiki!

See original repository https://github.com/uzh-rpg/flightmare for official updates and documentation.

for use on Ubuntu22.04, we need to build the following package from source:

zmqpp

Install prerequisites

sudo apt install libsodium-dev libzmq3-dev nlohmann-json3-dev

clone zmqpp

git clone https://github.com/zeromq/zmqpp

build according to install instructions from zmqpp

cd zmqpp
make
make client
make check
sudo make install
make installcheck

install other dependencies

sudo apt-get update && sudo apt-get install -y --no-install-recommends \
   build-essential \
   cmake \
   libopencv-dev 

Install Miniconda

cd
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash ~/Miniconda3-latest-Linux-x86_64.sh

setup flightmare conda

conda create --name flightmare python=3.6
conda activate flightmare

install dependencies

pip install tensorflow-gpu==1.14
pip install scikit-build
pip install opencv-python==4.5.5.64
pip install ruamel.yaml==0.16

set flightmare Path

export FLIGHTMARE_PATH=<path/to/erl_flightmare>

And add this to your bashrc if you would like it to persist.

install flightlib

cd erl_flightmare/flightlib
pip install .

install flightrl (optional)

cd ../flightrl
pip install .

Flightmare Unity Rendering

download from official flightmare releases link.

cd ../flightrender
mv ~/Downloads/RPG_Flightmare.tar.xz . 
tar xvf RPG_Flightmare.tar.xz

notes

depending on your system you may have to copy the libzmqpp files from /usr/local/lib/ to /usr/lib/

Install for use with cpp

cd flightlib/build
cmake ..
make -j
sudo make install