2011-06-28 03:31:18 -03:00
|
|
|
// Example config file. Take a look at confi.h. Any term define there can be overridden by defining it here.
|
2011-03-21 04:35:54 -03:00
|
|
|
|
|
|
|
// GPS is auto-selected
|
|
|
|
|
2011-05-09 12:46:56 -03:00
|
|
|
//#define MAG_ORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD
|
2011-03-21 04:35:54 -03:00
|
|
|
|
2011-05-31 02:29:06 -03:00
|
|
|
|
2011-07-02 19:44:59 -03:00
|
|
|
#define BROKEN_SLIDER 0 // 1 = yes (use Yaw to enter CLI mode)
|
2011-06-16 14:03:26 -03:00
|
|
|
|
2011-05-18 20:38:24 -03:00
|
|
|
#define FRAME_CONFIG QUAD_FRAME
|
2011-05-14 23:04:52 -03:00
|
|
|
/*
|
|
|
|
options:
|
2011-05-18 20:38:24 -03:00
|
|
|
QUAD_FRAME
|
|
|
|
TRI_FRAME
|
|
|
|
HEXA_FRAME
|
|
|
|
Y6_FRAME
|
2011-05-23 23:14:18 -03:00
|
|
|
OCTA_FRAME
|
2011-06-12 09:14:10 -03:00
|
|
|
HELI_FRAME
|
2011-05-14 23:04:52 -03:00
|
|
|
*/
|
2011-05-14 23:03:23 -03:00
|
|
|
|
2011-05-18 20:38:24 -03:00
|
|
|
#define FRAME_ORIENTATION X_FRAME
|
|
|
|
/*
|
|
|
|
PLUS_FRAME
|
|
|
|
X_FRAME
|
2011-06-24 01:37:54 -03:00
|
|
|
V_FRAME
|
2011-05-18 20:38:24 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2011-05-14 23:03:23 -03:00
|
|
|
#define CHANNEL_6_TUNING CH6_NONE
|
2011-04-21 02:15:45 -03:00
|
|
|
/*
|
|
|
|
CH6_NONE
|
|
|
|
CH6_STABLIZE_KP
|
|
|
|
CH6_STABLIZE_KD
|
|
|
|
CH6_BARO_KP
|
|
|
|
CH6_BARO_KD
|
|
|
|
CH6_SONAR_KP
|
|
|
|
CH6_SONAR_KD
|
|
|
|
CH6_Y6_SCALING
|
|
|
|
*/
|
|
|
|
|
2011-03-21 04:35:54 -03:00
|
|
|
//#define ACRO_RATE_TRIGGER 4200
|
|
|
|
// if you want full ACRO mode, set value to 0
|
|
|
|
// if you want mostly stabilize with flips, set value to 4200
|
|
|
|
|
2011-05-14 23:03:23 -03:00
|
|
|
//#define STABILIZE_ROLL_D 0.11
|
|
|
|
//#define STABILIZE_PITCH_D 0.11
|
2011-03-21 04:35:54 -03:00
|
|
|
|
|
|
|
|
2011-06-27 14:01:53 -03:00
|
|
|
// 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
|
2011-06-28 03:31:18 -03:00
|
|
|
#define DYNAMIC_DRIFT 0 // careful!!! 0 = off, 1 = on
|