mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
3dd3f1091e
defaults for these are already in config.h, but protected with #ifndef wrappers. The #ifndef wrappers are useful to allow users to have makefile targets for different configs, so you can (for example), do "make heli" with a local makefile This makes it easier for developers to ensure that all configs build correctly git-svn-id: https://arducopter.googlecode.com/svn/trunk@2890 f9c3cf11-9bcb-44bc-f272-b75c42450872
50 lines
877 B
C
50 lines
877 B
C
// Example config file. Take a look at confi.h. Any term define there can be overridden by defining it here.
|
|
|
|
// GPS is auto-selected
|
|
|
|
//#define MAG_ORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD
|
|
|
|
|
|
#define BROKEN_SLIDER 0 // 1 = yes (use Yaw to enter CLI mode)
|
|
|
|
//#define FRAME_CONFIG QUAD_FRAME
|
|
/*
|
|
options:
|
|
QUAD_FRAME
|
|
TRI_FRAME
|
|
HEXA_FRAME
|
|
Y6_FRAME
|
|
OCTA_FRAME
|
|
HELI_FRAME
|
|
*/
|
|
|
|
//#define FRAME_ORIENTATION X_FRAME
|
|
/*
|
|
PLUS_FRAME
|
|
X_FRAME
|
|
V_FRAME
|
|
*/
|
|
|
|
|
|
//#define CHANNEL_6_TUNING CH6_NONE
|
|
/*
|
|
CH6_NONE
|
|
CH6_STABILIZE_KP
|
|
CH6_STABILIZE_KI
|
|
CH6_RATE_KP
|
|
CH6_RATE_KI
|
|
CH6_THROTTLE_KP
|
|
CH6_THROTTLE_KD
|
|
CH6_YAW_KP
|
|
CH6_YAW_KI
|
|
CH6_YAW_RATE_KP
|
|
CH6_YAW_RATE_KI
|
|
CH6_TOP_BOTTOM_RATIO
|
|
CH6_PMAX
|
|
*/
|
|
|
|
// experimental!!
|
|
// Yaw is controled by targeting home. you will not have Yaw override.
|
|
// flying too close to home may induce spins.
|
|
#define SIMPLE_LOOK_AT_HOME 0
|