drone-comp / uatlib

Simulation Library for Urban Airspace Tradable Permit Model
https://drone-comp.github.io/uatlib/
MIT License
0 stars 0 forks source link
cpp17 simulation uav

uatlib: a C++ simulation library for Urban Airspace Tradable Permit Model

Getting started

Create a main.cpp file with the following content:

#include <uat/simulation.hpp>

int main() {
  // TODO
}

Then, clone this repository:

git clone https://github.com/drone-comp/uatlib.git
cd uatlib
git submodule update --init --recursive
cd ..

And include the library in your CMakeLists.txt:

cmake_minimum_required(VERSION 3.10)

project(my_project)

add_subdirectory(uatlib)

add_executable(my_project main.cpp)
target_link_libraries(my_project uat)

Running the simulation

To run the simulation, first compile the project:

cmake -H. -Bbuild
cmake --build build

Then, run the executable:

./build/my_project