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_PrecLand/AC_PrecLand_config.h
Views: 1798
1
#pragma once
2
3
#include <AP_HAL/AP_HAL_Boards.h>
4
5
#ifndef AC_PRECLAND_ENABLED
6
#define AC_PRECLAND_ENABLED 1
7
#endif
8
9
#ifndef AC_PRECLAND_BACKEND_DEFAULT_ENABLED
10
#define AC_PRECLAND_BACKEND_DEFAULT_ENABLED AC_PRECLAND_ENABLED
11
#endif
12
13
#ifndef AC_PRECLAND_COMPANION_ENABLED
14
#define AC_PRECLAND_COMPANION_ENABLED AC_PRECLAND_BACKEND_DEFAULT_ENABLED
15
#endif
16
17
#ifndef AC_PRECLAND_IRLOCK_ENABLED
18
#define AC_PRECLAND_IRLOCK_ENABLED AC_PRECLAND_BACKEND_DEFAULT_ENABLED
19
#endif
20
21
#ifndef AC_PRECLAND_SITL_ENABLED
22
#define AC_PRECLAND_SITL_ENABLED (AC_PRECLAND_BACKEND_DEFAULT_ENABLED && CONFIG_HAL_BOARD == HAL_BOARD_SITL)
23
#endif
24
25
#ifndef AC_PRECLAND_SITL_GAZEBO_ENABLED
26
#define AC_PRECLAND_SITL_GAZEBO_ENABLED (AC_PRECLAND_BACKEND_DEFAULT_ENABLED && CONFIG_HAL_BOARD == HAL_BOARD_SITL)
27
#endif
28
29