Project

General

Profile

Actions

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.

How to use it

Scenario definition

Add CloudBorder to the plugins list of an aircraft. The plugin does not have any parameter. Example:

aircrafts:
    200:
        replay: false
        type: 'pprz'
        plugins:
            # Other plugins ...
            - CloudBorder

Add the following dataview definitions. They are necessary for the GUI to fetch and display frontier points.

# DataViews
data_views:
    # View of the 'cloudborder' samples
    cloudborder:
        type: 'FetchView'
        name: 'CloudBorder'
        tags: ['cloudborder']
        displayable: false

    cloudborder_time:
        type: 'TimeView'
        name: 'CloudBorder Timed'
        parents: ['cloudborder']

Graphical User Interface

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

How does it work

The plugin code resides in nephelae_base/nephelae/plugins/CloudBorder.py. It works by subscribing to the ivy dc_shot messages from paparazzi. A CloudBorderSample (cloudborder) is disseminated each time a dc_shot is received.

Updated by Rafael Bailon-Ruiz almost 4 years ago · 4 revisions