2011-03-21 04:35:54 -03:00
|
|
|
// Example config file. Use APM_Config.h.reference and the wiki to find additional defines to setup your plane.
|
|
|
|
// Once you upload the code, run the factory "reset" to save all config values to EEPROM.
|
|
|
|
// After reset, use the setup mode to set your radio limits for CH1-4, and to set your flight modes.
|
|
|
|
|
|
|
|
// GPS is auto-selected
|
|
|
|
|
|
|
|
|
2011-04-27 02:08:24 -03:00
|
|
|
#define NAV_TEST 0 // 0 = traditional, 1 = rate controlled
|
2011-03-21 04:35:54 -03:00
|
|
|
|
2011-04-21 20:07:31 -03:00
|
|
|
//#define CHANNEL_6_TUNING CH6_NONE
|
|
|
|
#define CHANNEL_6_TUNING CH6_PMAX
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Logging
|
|
|
|
//#define LOG_CURRENT ENABLED
|
|
|
|
|
2011-04-17 02:17:42 -03:00
|
|
|
# define LOG_ATTITUDE_FAST DISABLED
|
|
|
|
# define LOG_ATTITUDE_MED DISABLED
|
2011-04-25 02:12:59 -03:00
|
|
|
# define LOG_GPS ENABLED
|
2011-04-17 02:17:42 -03:00
|
|
|
# define LOG_PM DISABLED
|
|
|
|
# define LOG_CTUN ENABLED
|
2011-04-25 02:12:59 -03:00
|
|
|
# define LOG_NTUN ENABLED
|
|
|
|
# define LOG_MODE ENABLED
|
2011-04-17 02:17:42 -03:00
|
|
|
# define LOG_RAW DISABLED
|
2011-04-25 02:12:59 -03:00
|
|
|
# define LOG_CMD ENABLED
|
2011-04-17 02:17:42 -03:00
|
|
|
# define LOG_CURRENT DISABLED
|
2011-01-23 12:40:03 -04:00
|
|
|
|