diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-01-02 14:18:02 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-01-02 14:18:02 +0100 |
commit | dca6d97a5288766e3e0da05dc5fdc98108fa7892 (patch) | |
tree | 3cc2850afdbfc79062358d9e6140b7b66bbf32bb /src/modules/navigator/navigator_main.cpp | |
parent | 4191ae33c264459f0a85d9c03b8cb4893c6ee33e (diff) | |
download | px4-firmware-dca6d97a5288766e3e0da05dc5fdc98108fa7892.tar.gz px4-firmware-dca6d97a5288766e3e0da05dc5fdc98108fa7892.tar.bz2 px4-firmware-dca6d97a5288766e3e0da05dc5fdc98108fa7892.zip |
create geofence class and start moving fence functionality to this class
Diffstat (limited to 'src/modules/navigator/navigator_main.cpp')
-rw-r--r-- | src/modules/navigator/navigator_main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/navigator/navigator_main.cpp b/src/modules/navigator/navigator_main.cpp index c88f237ad..a9547355f 100644 --- a/src/modules/navigator/navigator_main.cpp +++ b/src/modules/navigator/navigator_main.cpp @@ -78,6 +78,7 @@ #include "navigator_mission.h" #include "mission_feasibility_checker.h" +#include "geofence.h" /* oddly, ERROR is not defined for c++ */ @@ -157,6 +158,7 @@ private: perf_counter_t _loop_perf; /**< loop performance counter */ + Geofence geofence; struct fence_s _fence; /**< storage for fence vertices */ bool _fence_valid; /**< flag if fence is valid */ bool _inside_fence; /**< vehicle is inside fence */ |