Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AC_PrecLand/AC_PrecLand_config.h
9747 views
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_MAVLINK_ENABLED
14
#define AC_PRECLAND_MAVLINK_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