Simulation environment for a stability-based, monocular distance estimation algorithm for UAV systems
Simulation modes:
There are different modes, set in parameters.py. Setting the mode chooses the simulation.
Mode 1: Landing with constant gain, with delay, ZOH, constant wind, vz/z-based
Mode 2: Hover until instability vz/z-based, with delay, constant wind, ZOH.
Mode 3: Hover until instability vz/x-based, with delay, constant wind, ZOH.
Mode 4: Hover until instability vy/x-based, with delay, wind in y-direction, ZOH.
Set plot_traj = True and analysis = False and run simulate.py to run/plot a single simulation run.
Conversely set analysis = True and plot_traj = False and run analysis.py to run a set of simulations for a range of distances and wind speeds.
All experimental data obtained from OptiTrack and a processing script are included in the test folder.