From b29e85dc0a5b084395184698f86bda53574ff9a8 Mon Sep 17 00:00:00 2001 From: Robert Lefebvre Date: Mon, 26 Nov 2012 19:09:55 -0500 Subject: [PATCH] ACM: TradHeli Move some TradHeli #defines into one place in APM_Config to clean up config.h and defines.h --- ArduCopter/APM_Config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ArduCopter/APM_Config.h b/ArduCopter/APM_Config.h index 0d1f90747b..4e94f38145 100644 --- a/ArduCopter/APM_Config.h +++ b/ArduCopter/APM_Config.h @@ -125,3 +125,13 @@ // Used to set the max roll and pitch angles in Degrees * 100 //#define MAX_INPUT_ROLL_ANGLE 8000 //#define MAX_INPUT_PITCH_ANGLE 8000 + +///////////////////////////////////////////////////////////////////////////////// +// Bulk defines for TradHeli. Cleans up defines.h and config.h to put these here +#if FRAME_CONFIG == HELI_FRAME + # define RC_FAST_SPEED 125 + # define RTL_YAW YAW_LOOK_AT_HOME + # define TILT_COMPENSATION 5 + # define RATE_INTEGRATOR_LEAK_RATE 0.02 + # define RATE_ROLL_D 0 + #endif