Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nav_geofence.h File Reference

Optional exceptions triggeringg HOME_MODE 1) GEOFENCE_DATALINK_LOST_TIME: go to HOME mode if datalink lost for GEOFENCE_DATALINK_LOST_TIME 2) GEOFENCE_MAX_ALTITUDE: go HOME if airplane higher than the max altitude 3) GEOFENCE_MAX_HEIGHT: go HOME if airplane higher than the max height. More...

#include <stdbool.h>
+ Include dependency graph for nav_geofence.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static bool datalink_lost (void)
 
static bool higher_than_max_altitude (void)
 

Detailed Description

Optional exceptions triggeringg HOME_MODE 1) GEOFENCE_DATALINK_LOST_TIME: go to HOME mode if datalink lost for GEOFENCE_DATALINK_LOST_TIME 2) GEOFENCE_MAX_ALTITUDE: go HOME if airplane higher than the max altitude 3) GEOFENCE_MAX_HEIGHT: go HOME if airplane higher than the max height.

home_mode_max_alt is (optionally) defined in the flight plan GEOFENCE_DATALINK_LOST_TIME is defined in the airframe config file

Definition in file nav_geofence.h.

Function Documentation

static bool datalink_lost ( void  )
inlinestatic

Definition at line 46 of file nav_geofence.h.

Referenced by autopilot_periodic(), and telecommand_task().

+ Here is the caller graph for this function:

static bool higher_than_max_altitude ( void  )
inlinestatic

Definition at line 67 of file nav_geofence.h.

Referenced by autopilot_periodic(), and telecommand_task().

+ Here is the caller graph for this function: