Mission

Creates a mission.json file to be used in UGCS. The mission object allows the user to post-process the routes to better suit the field applications.

An example using different parameters is given in the Tutorial

UGCS

At this time only UGCS mission files are supposed for field deployments, if you are interested us using other methods, please open an issue

Route Modification

Routes can be post modified in multiple ways, by organizing the routes in a certain order, and changing the offset from home, and the transfer altitude band.

Route Organization

Home Offset

class wadl.mission.Mission(missionParamters=None)

Bases: object

Creates a UGCS mission from a survey

Parameters:missionParamters (MissionParamters) – Parameters for the mission
fromSurvey(survey, showPlot=False)

import routes from a Survey

Parameters:
  • survey (wadl.Survey) – Survey object.
  • showPlot (bool, optional) – show the plot of the modified routes.
setVersion(major=3, minor=6, build=225)

set the version of UGSC as major.minor.build

Parameters:
  • major (int) – major version
  • minor (int) – minor version
  • build (int) – build version
write()

Writes the mission routes and json file

class wadl.mission.MissionParameters(default=True)

Bases: wadl.lib.parameters.Parameters

Parameter container for setting missions parameters

Set parameters directly like how you would for a dictionary. missionParameters = MissionParameters missionParameters["Parameter"] = value

Parameters:
  • autoland (bool) – land after route
  • pre_land_alt (float) – lower to this alt after route
  • trajectory_type (str) – “straight”, or “safe”
  • group (str) – grouping option “home” or “task”
  • sort (str) – sorting option “angle”, “north”, or “east”
  • assign (str) – assignment option
  • N_bands (int) – number of altitude bands
  • band_start (float) – starting altitude band
  • band_step (float) – step for the altitude bands
  • offset_takeoff_dist (float) – takeoff offset distance in (m)
  • offset_landf_dist (float) – land offset distance in (m)