Project

General

Profile

System architecture » History » Revision 3

Revision 2 (Rafael Bailon-Ruiz, 2020-08-28 16:44) → Revision 3/19 (Rafael Bailon-Ruiz, 2020-08-28 17:43)

h1. Overview CAMS overview 

 This is a functional description of the LAAS-Nephelae software. 

 %{background:lightgreen}insert overview figure% 

 h2. Main features 

 The goal of this system is to provide a helper "graphical user interface":https://redmine.laas.fr/projects/nephelae/wiki/Graphical_user_interface with the following features: 

 * **Monitor data acquisition :** 
 ** Predicted 4D cloud maps (3D + time). See more details on the mapping system "here":https://redmine.laas.fr/projects/nephelae/wiki/Mapping. 
 ** Various data profiles, including raw data display and vertical atmospheric profiles. 
 %{background:lightgreen}insert images here ?% 

 * **Monitor fleet status :** 
 ** Current UAV positions on map. 
 ** Status updates for each UAVs, including current task, (predicted path ?), flight time, battery voltage and many others. 
 ** Dedicated interface for telepilots as a tool to validate generated flight plans (for safety). 
 %{background:lightgreen}insert images here ?% 

 * **Generate flight plans :** 
 ** Depending on current fleet status and map of cloud, the user will be able to require a UAV to execute a specific flight pattern. The interface aims at providing a user-friendly interface to generate complex flight plans. 
 %{background:lightgreen}insert images here ?% 

 * **Simulation :** 
 ** Using the simulation capabilities of the Paparazzi framework and MesoNH atmospheric simulation data, the whole system is able to run entirely on simulation. See "here":https://redmine.laas.fr/projects/nephelae/wiki/Simulation for more details. 
 %{background:lightgreen}insert images here ?% 


 h2. Main software components 

 The software is made of several key sub-systems, most of them programmed in **Python 3.5** (NOT compatible with Python 2): 

 * **Graphical user interface :** Web browser interface (HTML, CSS, JavaScript). Made with the "Django framework":https://www.djangoproject.com to link the web-based front-end with the Python back-end. More details "here":https://redmine.laas.fr/projects/nephelae/wiki/Graphical_user_interface. 

 * **Paparazzi interface module :** Python interface with Paparazzi system. In charge of communication with UAVs and ground station via the IvyBus. The idea is to abstract the link between Paparazzi and the rest of the LAAS software. More details "here":https://redmine.laas.fr/projects/nephelae-devel/wiki/Paparazzi_framework. 

 * **Mapping module :**  
 ** Full dense maps of clouds using sparse data generated by the UAVs, with the help of "Gaussian Process Regression":https://scikit-learn.org/stable/modules/gaussian_process.html (GPR). 
 ** Higher level functions to estimate some cloud parameters from a dense map (segmentation, area, border, etc...). 
 ** Single map interface, behind which can be a GPR predicted map, or a section of MesoNH data to be used as ground-truth in simulation. 

 * **MesoNH interface module :** Provides helper function to read data in a "MesoNH":http://mesonh.aero.obs-mip.fr/mesonh54 atmospheric simulation database. Used to simulate UAV flights in a realistic atmosphere by emulating wind, pressure, liquid water content, and many other variables. Also used to emulate UAV sensor data. 

 * **Data server :** Aggregates all data coming down from flying or simulated UAVs (or any other source) into a single server instance. Any module which needs data, like the mapping module or the GUI module must require data from the data server. More details "here":. 

 For more information on the codebase see "here":https://redmine.laas.fr/projects/nephelae-devel/wiki. 

 h2. Functional block diagrams 

 h3. Full simulation 

 In a simulation scenario, the full stack of LAAS software is used. The simulated UAVs fly into simulated wind and their Liquid Water Content (LWC) sensor is also simulated. Both data come from a MesoNH database. 

 !https://redmine.laas.fr/attachments/download/1629/functional_diagram_simulation.svg! 


 h3. Real flight 

 In a real flight scenario, none of the MesoNH modules are required. The rest of the modules should work exactly the same thanks to the Paparazzi framework abstraction level. 

 !https://redmine.laas.fr/attachments/download/1628/functional_diagram_real_flight.svg! 


 h3. Hybrid 

 The hybrid scenario is meant to test the adaptive flight patterns without having to fly into a cloud. Real UAV are flying but the LWC data is read from a MesoNH database. It is then sent to the UAVs to emulate the LWC embedded sensor. 

 !https://redmine.laas.fr/attachments/download/1627/functional_diagram_hybrid.svg!