dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
geofence.c File Reference

Check the UAV is within the geofence boundaries. More...

#include "openpilot.h"
#include <eventdispatcher.h>
#include "misc_math.h"
#include "physical_constants.h"
#include "geofencesettings.h"
#include "positionactual.h"
#include "modulesettings.h"

Go to the source code of this file.

Macros

#define SAMPLE_PERIOD_MS   250
 

Functions

static void settingsUpdated (const UAVObjEvent *ev, void *ctx, void *obj, int len)
 
static void checkPosition (const UAVObjEvent *ev, void *ctx, void *obj, int len)
 
int32_t GeofenceInitialize (void)
 
int32_t GeofenceStart (void)
 
 MODULE_INITCALL (GeofenceInitialize, GeofenceStart)
 

Variables

static GeoFenceSettingsData * geofenceSettings
 

Detailed Description

Check the UAV is within the geofence boundaries.

Author
Tau Labs, http://taulabs.org, Copyright (C) 2012-2014
dRonin, http://dronin.org Copyright (C) 2015
See Also
The GNU Public License (GPL) Version 3

Definition in file geofence.c.