ardupilot/ArduCopter/APM_Config.h

66 lines
1.9 KiB
C
Raw Normal View History

// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// Example config file. Take a look at config.h. Any term define there can be
// overridden by defining it here.
// If you used to define your CONFIG_APM_HARDWARE setting here, it is no longer
// valid! You should switch to using a HAL_BOARD flag in your local config.mk.
//#define MAG_ORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD
//#define HIL_MODE HIL_MODE_SENSORS
//#define DMP_ENABLED ENABLED
//#define SECONDARY_DMP_ENABLED ENABLED // allows running DMP in parallel with DCM for testing purposes
//#define FRAME_CONFIG QUAD_FRAME
2012-08-21 23:19:50 -03:00
/*
* options:
* QUAD_FRAME
* TRI_FRAME
* HEXA_FRAME
* Y6_FRAME
* OCTA_FRAME
* OCTA_QUAD_FRAME
* HELI_FRAME
*/
//#define FRAME_ORIENTATION X_FRAME
2012-08-21 23:19:50 -03:00
/*
* PLUS_FRAME
* X_FRAME
* V_FRAME
*/
2012-08-09 20:41:25 -03:00
//#define CH7_OPTION CH7_SAVE_WP
2012-08-21 23:19:50 -03:00
/*
* CH7_DO_NOTHING
* CH7_FLIP
* CH7_SIMPLE_MODE
* CH7_RTL
* CH7_SAVE_TRIM
2012-08-21 23:19:50 -03:00
* CH7_SAVE_WP
* CH7_CAMERA_TRIGGER
2012-08-21 23:19:50 -03:00
*/
// uncomment the line below to disable control of yaw during missions (or set YAW_BEHAVIOR parameter to 0)
// #define WP_YAW_BEHAVIOR_DEFAULT WP_YAW_BEHAVIOR_NONE
2013-01-28 03:00:59 -04:00
//#define MOTORS_JD880
2011-12-18 22:29:05 -04:00
//#define MOTORS_JD850
2011-10-15 19:29:33 -03:00
// the choice of function names is up to the user and does not have to match these
2012-08-05 19:21:14 -03:00
// uncomment these hooks and ensure there is a matching function on your "UserCode.pde" file
2011-10-15 19:29:33 -03:00
//#define USERHOOK_FASTLOOP userhook_FastLoop();
#define USERHOOK_50HZLOOP userhook_50Hz();
//#define USERHOOK_MEDIUMLOOP userhook_MediumLoop();
//#define USERHOOK_SLOWLOOP userhook_SlowLoop();
//#define USERHOOK_SUPERSLOWLOOP userhook_SuperSlowLoop();
#define USERHOOK_INIT userhook_init();
2012-08-05 19:21:14 -03:00
// the choice of included variables file (*.h) is up to the user and does not have to match this one
2011-10-15 19:29:33 -03:00
// Ensure the defined file exists and is in the arducopter directory
#define USERHOOK_VARIABLES "UserVariables.h"
2012-08-09 20:41:25 -03:00
//#define LOGGING_ENABLED DISABLED