Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AC_CustomControl/AC_CustomControl_config.h
9447 views
1
#pragma once
2
3
#include <AP_HAL/AP_HAL_Boards.h>
4
5
// note boards.py sets this, so the default value in here doesn't
6
// really matter:
7
//#ifndef AP_CUSTOMCONTROL_ENABLED
8
//#define AP_CUSTOMCONTROL_ENABLED 0
9
//#endif
10
11
#ifndef AP_CUSTOMCONTROL_BACKEND_DEFAULT_ENABLED
12
#define AP_CUSTOMCONTROL_BACKEND_DEFAULT_ENABLED AP_CUSTOMCONTROL_ENABLED
13
#endif
14
15
#ifndef AP_CUSTOMCONTROL_EMPTY_ENABLED
16
#define AP_CUSTOMCONTROL_EMPTY_ENABLED AP_CUSTOMCONTROL_BACKEND_DEFAULT_ENABLED
17
#endif
18
19
#ifndef AP_CUSTOMCONTROL_PID_ENABLED
20
#define AP_CUSTOMCONTROL_PID_ENABLED AP_CUSTOMCONTROL_BACKEND_DEFAULT_ENABLED
21
#endif
22
23