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/lib/geo/geo.h | |
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/lib/geo/geo.h')
-rw-r--r-- | src/lib/geo/geo.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/geo/geo.h b/src/lib/geo/geo.h index 5f92e14cf..5f4bce698 100644 --- a/src/lib/geo/geo.h +++ b/src/lib/geo/geo.h @@ -143,15 +143,4 @@ __EXPORT float _wrap_360(float bearing); __EXPORT float _wrap_pi(float bearing); __EXPORT float _wrap_2pi(float bearing); -/** - * Return whether craft is inside geofence. - * - * Calculate whether point is inside arbitrary polygon - * @param craft pointer craft coordinates - * @param fence pointer to array of coordinates, one per vertex. First and last vertex are assumed connected - * @return true: craft is inside fence, false:craft is outside fence - */ -__EXPORT bool inside_geofence(const struct vehicle_global_position_s *craft, const struct fence_s *fence); - - __END_DECLS |