Project

General

Profile

Actions

AVBP Mission plugin » History » Revision 5

« Previous | Revision 5/13 (diff) | Next »
Rafael Bailon-Ruiz, 2021-03-11 14:45


AVBP Mission plugin

The AVBP mission plugin is an aircraft plugin, built upon the standard Mission Manager, to supervise adaptive mapping missions.
It is defined in the cams_avbp.plugins.mission module.

How to use it

Scenario definition

AVBPMission must de declared in the plugins section. The Missions is required and must be included first in the list. Example:
aircrafts:
    200:
        replay: false
        type: 'pprz'
        plugins:
            # Other plugins ...
            - Missions:
                backup_file: '/PATH/TO/backup_200.bin'
                Goto: *goto_defaults
                Segment: *segment_defaults
            - AVBPMission

User remote control

You can make remote procedure calls using the http API, that you can issue with a web browser or from the command line with curl. For instance:

curl -v "http://127.0.0.1:8000/runtime/call_method/?uav_id=200&plugin=AVBPMission&method=stop" 

calls the stop method of the uav 200 defined in the AVBPMission plugin

Updated by Rafael Bailon-Ruiz over 3 years ago · 13 revisions