|
dRonin
adbada4
dRonin firmware
|
Files | |
| file | geofence.c |
| Check the UAV is within the geofence boundaries. | |
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 |
| volatile bool | settingsUpdated = true |
| #define SAMPLE_PERIOD_MS 250 |
Definition at line 45 of file geofence.c.
|
static |
Periodic callback that processes changes in position and sets the alarm.
Definition at line 126 of file geofence.c.
| int32_t GeofenceInitialize | ( | void | ) |
Initialise the module, called on startup
Definition at line 64 of file geofence.c.
| int32_t GeofenceStart | ( | void | ) |
Definition at line 103 of file geofence.c.
| MODULE_INITCALL | ( | GeofenceInitialize | , |
| GeofenceStart | |||
| ) |
|
static |
Update the settings
Definition at line 150 of file geofence.c.
|
static |
Definition at line 58 of file geofence.c.
| static void settingsUpdated = true |
Update the settings
Definition at line 94 of file airspeed.c.