Project

General

Profile

Cloud border plugin » History » Revision 3

Revision 2 (Rafael Bailon-Ruiz, 2021-03-05 14:24) → Revision 3/4 (Rafael Bailon-Ruiz, 2021-03-05 15:03)

h1. Cloud border plugin 

 The cloud border plugin registers the location of the cloud border as transmitted by paparazzi, when the liquid water content value changes from zero to positive and vice versa. Activating this plugin also enables the display of border points in the GUI. 

 <code class="yaml"> 

 </code> 

 {{toc}} 

 h2. How to use it 

 h3. Scenario definition 

 Add _CloudBorder_ to the _plugins_ list of an aircraft. The plugin does not have any parameter. 

 Example: 
 <pre><code class="yaml"> 
 aircrafts: 
     200: 
         replay: false 
         type: 'pprz' 
         plugins: 
             # Other plugins ... 
             - CloudBorder 
 </code></pre> 

 h3. Graphical User Interface 

 Border points appear as yellow dots in the _mapping_ page. The "Cloud border" checkbox controls de display of these points. 

 !Lace%20screenshot.png! 

 



 h2. How does it work 


 

 The plugin code resides in <code class="shell">nephelae_base/nephelae/plugins/CloudBorder.py</code>. 

 It works by subscribing to the <code class="python">dc_shot</code> messages from ivy. A <code class="python">CloudBorderSample</code> is disseminated each time a <code class="python">dc_shot</code> is received. defined