2022-07-19 08:33:12 -03:00
|
|
|
#pragma once
|
|
|
|
|
2022-07-25 13:51:32 -03:00
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
|
2024-02-14 20:40:28 -04:00
|
|
|
#include <GCS_MAVLink/GCS_config.h>
|
|
|
|
|
2022-07-25 13:51:32 -03:00
|
|
|
// Enabled 0 is compiled out
|
|
|
|
// Enabled 1 is always enabled on all vehicles
|
|
|
|
// Enabled 2 is enabled with dummy methods for tracker and blimp
|
|
|
|
|
2022-07-19 08:33:12 -03:00
|
|
|
#ifndef AP_FENCE_ENABLED
|
2022-07-25 13:51:32 -03:00
|
|
|
#define AP_FENCE_ENABLED 2
|
2022-07-19 08:33:12 -03:00
|
|
|
#endif
|
2023-08-07 02:15:39 -03:00
|
|
|
|
|
|
|
#ifndef AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT
|
2024-02-14 20:40:28 -04:00
|
|
|
#define AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT HAL_GCS_ENABLED && AP_FENCE_ENABLED
|
2023-08-07 02:15:39 -03:00
|
|
|
#endif
|