CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AC_Fence/AC_Fence_config.h
Views: 1798
1
#pragma once
2
3
#include <AP_HAL/AP_HAL_Boards.h>
4
5
#include <GCS_MAVLink/GCS_config.h>
6
7
// Enabled 0 is compiled out
8
// Enabled 1 is always enabled on all vehicles
9
// Enabled 2 is enabled with dummy methods for tracker and blimp
10
11
#ifndef AP_FENCE_ENABLED
12
#define AP_FENCE_ENABLED 2
13
#endif
14
15
// CODE_REMOVAL
16
// ArduPilot 4.6 sends deprecation warnings for FENCE_POINT/FENCE_FETCH_POINT
17
// ArduPilot 4.7 stops compiling them in
18
// ArduPilot 4.8 removes the code entirely
19
#ifndef AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT
20
#define AC_POLYFENCE_FENCE_POINT_PROTOCOL_SUPPORT 0
21
#endif
22
23