PX4 Firmware
PX4 Autopilot Software http://px4.io
geofence.h File Reference

Provides functions for handling the geofence. More...

#include <float.h>
#include <px4_platform_common/module_params.h>
#include <drivers/drv_hrt.h>
#include <lib/ecl/geo/geo.h>
#include <px4_platform_common/defines.h>
#include <uORB/Subscription.hpp>
#include <uORB/topics/home_position.h>
#include <uORB/topics/vehicle_global_position.h>
#include <uORB/topics/vehicle_gps_position.h>
#include <uORB/topics/vehicle_air_data.h>
Include dependency graph for geofence.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Geofence
 
struct  Geofence::PolygonInfo
 

Macros

#define GEOFENCE_FILENAME   PX4_STORAGEDIR"/etc/geofence.txt"
 

Detailed Description

Provides functions for handling the geofence.

Author
Jean Cyr jean..nosp@m.m.cy.nosp@m.r@gma.nosp@m.il.c.nosp@m.om
Thomas Gubler thoma.nosp@m.sgub.nosp@m.ler@g.nosp@m.mail.nosp@m..com

Definition in file geofence.h.

Macro Definition Documentation

◆ GEOFENCE_FILENAME

#define GEOFENCE_FILENAME   PX4_STORAGEDIR"/etc/geofence.txt"

Definition at line 55 of file geofence.h.

Referenced by Navigator::custom_command(), Geofence::loadFromFile(), and Navigator::run().