Skip to content

Detect and Avoid Modelling and Simulation — Modélisation et simulation de la détection et de l'évitement

License

Notifications You must be signed in to change notification settings

nrc-cnrc/daamsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAAMSIM

DOI

DAAMSim is a publicly available modeling and simulation framework, developed by the National Research Council of Canada (NRC), to support the determination of DAA system requirements, and evaluation of DAA system performance. The framework incorporates the functional components including various sensor, tracker, and avoid models, data replay, visualization tools, and offline metrics. The framework incorporates NRC-modified version of NASA DAIDALUS (license is presented in the "DAIDALUS" folder of the repository).

The framework is documented in https://cdnsciencepub.com/doi/abs/10.1139/dsa-2021-0044 and includes the intercept data collected by the NRC after conducting actual collision intercepts between a surrogate RPAS (Bell 205) and multiple manned intruder targets, documented in https://cdnsciencepub.com/doi/full/10.1139/juvs-2021-0005. This data is presented in Matlab structure format, as well as in .daa format which could be replayed using NASA-developed UASChorus visualization tool. The approach on how to use DAAMSIM to determine the DAA system's Risk Ratio is documented in https://www.mdpi.com/2504-446X/7/2/127

Currently, only part of the framework is presented for public consumption. Authors are exploring licensing options to re-distribute NRC-modified versions of Matlab sensor models and trackers. Researchers and developers are welcome to contribute and improve the DAAMSIM framework.

Requirements

Operating systems

This codebase provides support for both MacOS and Windows operating systems.

Necessary Add-Ons

Since the project is written in MATLAB, you'll need a to install it and have a valid license of it. On installation, you can add the following add-ons to fully support the features of this codebase or add them later once MATLAB is installed.

To calculate requirements for example DAA system with the MetricsExample.m script, you'll need to have installed the Mapping Toolbox Add-On for MATLAB.

To run the Simulink simluation, you'll need to have the Simulink Add-On and Statistics and Machine Learning Add-On installed.

How to run

  1. To run Simulink simulation, execute "clear all"; run start.m then run M1_NRC.slx.
  2. To run Simulink simulation with NASA DAIDALUS alerting, execute "clear all"; run start.m, then run M2_DAIDALUS.slx. Check DAIDALUS output in the form of bands and alerts in Debug->Diagnostics window of the Simulink simulation.
  3. To test camera model, run CameraModel.m
  4. To calculate requirements for a sample DAA system, run MetricsExample.m.
  5. To calculate effectiveness of a sample DAA system against various intruders, run batchRrCalculationDetailsForSpeedArray.m
  6. To calculate cumulative Risk Ratio of a sample DAA system assuming that airspace model (intruder speed distribution) is known, run batchAssembler.m
  7. To evaluate sensitivity of a sample DAA system to sensor FOV and sensor range, run daaSensitivityScript.m

Support

For technical support, consider the Discussions.

Issues

Post Issues to report genuine bugs, mistakes or even small typos in the scripts. Note that issues are not meant for technical support; open an issue only for an error which is specific and reproducible.

nrc-footer

About

Detect and Avoid Modelling and Simulation — Modélisation et simulation de la détection et de l'évitement

Resources

License

Stars

Watchers

Forks

Packages

No packages published