Paparazzi UAS  v5.15_devel-110-g5cf27ee
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...

+ 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 45 of file nav_geofence.h.

Referenced by autopilot_static_on_rc_frame(), and autopilot_static_periodic().

+ Here is the caller graph for this function:

static bool higher_than_max_altitude ( void  )
inlinestatic

Definition at line 66 of file nav_geofence.h.

Referenced by autopilot_static_on_rc_frame(), and autopilot_static_periodic().

+ Here is the caller graph for this function: