2010-12-23 10:05:59 -04: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.
|
|
|
|
|
2011-01-23 12:40:03 -04:00
|
|
|
#define GPS_PROTOCOL GPS_PROTOCOL_MTK
|
2010-12-23 10:05:59 -04:00
|
|
|
#define GCS_PROTOCOL GCS_PROTOCOL_NONE
|
|
|
|
|
2011-02-07 02:20:08 -04:00
|
|
|
//#define MAGORIENTATION AP_COMPASS_COMPONENTS_UP_PINS_BACK
|
|
|
|
#define MAGORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD
|
|
|
|
|
|
|
|
//# define STABILIZE_ROLL_P 0.4
|
|
|
|
//# define STABILIZE_PITCH_P 0.4
|
|
|
|
//# define STABILIZE_DAMPENER 0.1
|
2010-12-23 10:05:59 -04:00
|
|
|
|
|
|
|
|
2011-01-26 03:14:54 -04:00
|
|
|
//#define ACRO_RATE_TRIGGER 4200
|
2011-01-25 02:28:34 -04:00
|
|
|
// if you want full ACRO mode, set value to 0
|
|
|
|
// if you want safe ACRO mode, set value to 100
|
|
|
|
// if you want mostly stabilize with flips, set value to 4200
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-23 10:05:59 -04:00
|
|
|
// For future development, don't enable unless you know them
|
|
|
|
// These are all experimental and underwork, jp 23-12-10
|
2011-01-23 21:57:31 -04:00
|
|
|
//#define ENABLE_EXTRAS ENABLED
|
|
|
|
//#define ENABLE_EXTRAINIT ENABLED
|
2010-12-30 03:41:43 -04:00
|
|
|
//#define ENABLE_CAM ENABLED
|
2011-01-23 21:57:31 -04:00
|
|
|
//#define ENABLE_AM ENABLED
|
2010-12-23 10:05:59 -04:00
|
|
|
//#define ENABLE_xx ENABLED
|
|
|
|
|
2011-01-23 21:57:31 -04:00
|
|
|
|
2011-01-16 23:44:12 -04:00
|
|
|
// Logging
|
2011-01-23 21:57:31 -04:00
|
|
|
//#define LOG_CURRENT ENABLED
|
2011-01-23 12:40:03 -04:00
|
|
|
|
|
|
|
|