APM:Libraries
|
#include <inttypes.h>
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include <AP_AHRS/AP_AHRS.h>
#include <AC_Fence/AC_PolyFence_loader.h>
#include <AP_Common/Location.h>
Go to the source code of this file.
Classes | |
class | AC_Fence |
Macros | |
#define | AC_FENCE_TYPE_ALT_MAX 1 |
#define | AC_FENCE_TYPE_CIRCLE 2 |
#define | AC_FENCE_TYPE_POLYGON 4 |
#define | AC_FENCE_ACTION_REPORT_ONLY 0 |
#define | AC_FENCE_ACTION_RTL_AND_LAND 1 |
#define | AC_FENCE_ALT_MAX_DEFAULT 100.0f |
#define | AC_FENCE_ALT_MIN_DEFAULT -10.0f |
#define | AC_FENCE_CIRCLE_RADIUS_DEFAULT 300.0f |
#define | AC_FENCE_ALT_MAX_BACKUP_DISTANCE 20.0f |
#define | AC_FENCE_CIRCLE_RADIUS_BACKUP_DISTANCE 20.0f |
#define | AC_FENCE_MARGIN_DEFAULT 2.0f |
#define | AC_FENCE_GIVE_UP_DISTANCE 100.0f |
#define | AC_FENCE_MANUAL_RECOVERY_TIME_MIN 10000 |
#define AC_FENCE_ACTION_REPORT_ONLY 0 |
Definition at line 18 of file AC_Fence.h.
Referenced by AC_Fence::sys_status_enabled().
#define AC_FENCE_ACTION_RTL_AND_LAND 1 |
Definition at line 19 of file AC_Fence.h.
#define AC_FENCE_ALT_MAX_BACKUP_DISTANCE 20.0f |
Definition at line 25 of file AC_Fence.h.
Referenced by AC_Fence::check_fence_alt_max().
#define AC_FENCE_ALT_MAX_DEFAULT 100.0f |
Definition at line 22 of file AC_Fence.h.
#define AC_FENCE_ALT_MIN_DEFAULT -10.0f |
Definition at line 23 of file AC_Fence.h.
#define AC_FENCE_CIRCLE_RADIUS_BACKUP_DISTANCE 20.0f |
Definition at line 26 of file AC_Fence.h.
Referenced by AC_Fence::check_fence_circle().
#define AC_FENCE_CIRCLE_RADIUS_DEFAULT 300.0f |
Definition at line 24 of file AC_Fence.h.
#define AC_FENCE_GIVE_UP_DISTANCE 100.0f |
Definition at line 30 of file AC_Fence.h.
#define AC_FENCE_MANUAL_RECOVERY_TIME_MIN 10000 |
Definition at line 31 of file AC_Fence.h.
Referenced by AC_Fence::check().
#define AC_FENCE_MARGIN_DEFAULT 2.0f |
Definition at line 27 of file AC_Fence.h.
#define AC_FENCE_TYPE_ALT_MAX 1 |
Definition at line 13 of file AC_Fence.h.
Referenced by AC_Avoid::adjust_velocity_z(), AC_Fence::check(), AC_Fence::check_destination_within_fence(), AC_Fence::check_fence_alt_max(), AC_Fence::enable(), AC_Fence::get_breach_distance(), and AC_Fence::sys_status_failed().
#define AC_FENCE_TYPE_CIRCLE 2 |
Definition at line 14 of file AC_Fence.h.
Referenced by AC_Avoid::adjust_velocity_circle_fence(), AC_Fence::check(), AC_Fence::check_destination_within_fence(), AC_Fence::check_fence_circle(), AC_Fence::enable(), AC_Fence::get_breach_distance(), AC_Fence::pre_arm_check(), and AC_Fence::sys_status_failed().
#define AC_FENCE_TYPE_POLYGON 4 |
Definition at line 15 of file AC_Fence.h.
Referenced by AC_Avoid::adjust_velocity_polygon_fence(), AC_Fence::check(), AC_Fence::check_destination_within_fence(), AC_Fence::check_fence_polygon(), AC_Fence::enable(), AC_Fence::pre_arm_check(), AC_Fence::pre_arm_check_polygon(), and AC_Fence::sys_status_failed().