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
|
|
|
|
2024-06-05 20:57:52 -03:00
|
|
|
// CODE_REMOVAL
|
|
|
|
// ArduPilot 4.6 sends deprecation warnings for FENCE_POINT/FENCE_FETCH_POINT
|
|
|
|
// ArduPilot 4.7 stops compiling them in
|
|
|
|
// ArduPilot 4.8 removes the code entirely
|
2023-08-07 02:15:39 -03:00
|
|
|
#ifndef AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT
|
2024-11-14 19:48:44 -04:00
|
|
|
#define AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT 0
|
2023-08-07 02:15:39 -03:00
|
|
|
#endif
|