dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
geofence_control.h
Go to the documentation of this file.
1 
17 /*
18  * This program is free software; you can redistribute it and/or modify
19  * it under the terms of the GNU General Public License as published by
20  * the Free Software Foundation; either version 3 of the License, or
21  * (at your option) any later version.
22  *
23  * This program is distributed in the hope that it will be useful, but
24  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
25  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26  * for more details.
27  *
28  * You should have received a copy of the GNU General Public License along
29  * with this program; if not, see <http://www.gnu.org/licenses/>
30  */
31 
32  #ifndef GEOFENCE_CONTROL_H
33  #define GEOFENCE_CONTROL_H
34 
37 
39 int32_t geofence_control_update();
40 
42 int32_t geofence_control_select(bool reset_controller);
43 
46 
47  #endif /* GEOFENCE_CONTROL_H */
48 
int32_t geofence_control_update()
Perform any updates to the geofence controller.
int32_t geofence_control_select(bool reset_controller)
Use geofence control mode.
bool geofence_control_activate()
Query if out of bounds and the geofence controller should take over.
int32_t geofence_control_initialize()
Initialize the geofence controller.