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

Geofence controller that is enabled when out of zone. More...

#include "openpilot.h"
#include "control.h"
#include "geofence_control.h"
#include "transmitter_control.h"
#include "flightstatus.h"
#include "geofencesettings.h"
#include "stabilizationdesired.h"
#include "systemalarms.h"
#include "systemsettings.h"

Go to the source code of this file.

Functions

int32_t geofence_control_initialize ()
 Initialize the geofence controller. More...
 
int32_t geofence_control_update ()
 Perform any updates to the geofence controller. More...
 
int32_t geofence_control_select (bool reset_controller)
 Use geofence control mode. More...
 
bool geofence_control_activate ()
 Query if out of bounds and the geofence controller should take over. More...
 

Variables

static bool geofence_armed_when_enabled
 

Detailed Description

Geofence controller that is enabled when out of zone.

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

Definition in file geofence_control.c.