2012-11-27 06:47:30 -04:00
|
|
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
2012-04-30 04:17:14 -03:00
|
|
|
|
|
|
|
// This file is just a placeholder for your configuration file. If you wish to change any of the setup parameters from
|
|
|
|
// their default values, place the appropriate #define statements here.
|
|
|
|
|
2012-11-17 02:45:20 -04:00
|
|
|
//#define CONFIG_APM_HARDWARE APM_HARDWARE_APM2
|
2012-04-30 04:17:14 -03:00
|
|
|
|
2012-11-17 02:45:20 -04:00
|
|
|
#define LITE DISABLED // if LITE is ENABLED, you may use an APM1280 or APM2560 CPU only (IMU less) with a GPS MT3329
|
2012-05-09 02:12:26 -03:00
|
|
|
// if LITE is DISABLED, this is for a full APM v1 (Oilpan + GPS MT3329 + Magnetometer HMC5883L) or APM v2
|
|
|
|
|
2012-04-30 04:17:14 -03:00
|
|
|
#define CLI_ENABLED ENABLED
|
|
|
|
#define CLI_SLIDER_ENABLED DISABLED
|
2012-05-14 12:47:08 -03:00
|
|
|
#define AUTO_WP_RADIUS DISABLED
|
2012-04-30 04:17:14 -03:00
|
|
|
|
2012-11-17 02:45:20 -04:00
|
|
|
#define TRACE DISABLED
|
|
|
|
|
|
|
|
//#define LOGGING_ENABLED DISABLED
|
2012-05-09 02:12:26 -03:00
|
|
|
|
2012-05-20 12:45:07 -03:00
|
|
|
//#include "APM_Config_HILmode.h" // for test in HIL mode with AeroSIM Rc 3.83
|
2012-11-17 02:45:20 -04:00
|
|
|
//#include "APM_Config_Rover.h" // to be used with the real Traxxas model Monster Jam Grinder
|
2012-04-30 04:17:14 -03:00
|
|
|
|
|
|
|
// Radio setup:
|
|
|
|
// APM INPUT (Rec = receiver)
|
|
|
|
// Rec ch1: Roll
|
|
|
|
// Rec ch2: Throttle
|
|
|
|
// Rec ch3: Pitch
|
|
|
|
// Rec ch4: Yaw
|
|
|
|
// Rec ch5: not used
|
|
|
|
// Rec ch6:
|
|
|
|
// Rec ch7: Option channel to 2 positions switch
|
|
|
|
// Rec ch8: Mode channel to 3 positions switch
|
|
|
|
// APM OUTPUT
|
|
|
|
// Ch1: Wheel servo (direction)
|
|
|
|
// Ch2: not used
|
|
|
|
// Ch3: to the motor ESC
|
|
|
|
// Ch4: not used
|
|
|
|
|