From 84845584c8132788f1c8aa3b2168b9651c4c2248 Mon Sep 17 00:00:00 2001 From: Tatsuya Yamaguchi Date: Wed, 8 Sep 2021 11:25:31 +0900 Subject: [PATCH] Copter: remove unused config --- ArduCopter/config.h | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/ArduCopter/config.h b/ArduCopter/config.h index faceb94f3a..ffb333c1cc 100644 --- a/ArduCopter/config.h +++ b/ArduCopter/config.h @@ -168,13 +168,6 @@ # define EKF_ORIGIN_MAX_ALT_KM 50 // EKF origin and home must be within 50km vertically #endif -#ifndef COMPASS_CAL_STICK_GESTURE_TIME - #define COMPASS_CAL_STICK_GESTURE_TIME 2.0f // 2 seconds -#endif -#ifndef COMPASS_CAL_STICK_DELAY - #define COMPASS_CAL_STICK_DELAY 5.0f -#endif - ////////////////////////////////////////////////////////////////////////////// // OPTICAL_FLOW #ifndef OPTFLOW @@ -527,10 +520,6 @@ # define WP_YAW_BEHAVIOR_DEFAULT WP_YAW_BEHAVIOR_LOOK_AT_NEXT_WP_EXCEPT_RTL #endif -#ifndef AUTO_YAW_SLEW_RATE - # define AUTO_YAW_SLEW_RATE 60 // degrees/sec -#endif - #ifndef YAW_LOOK_AHEAD_MIN_SPEED # define YAW_LOOK_AHEAD_MIN_SPEED 100 // minimum ground speed in cm/s required before copter is aimed at ground course #endif @@ -549,9 +538,6 @@ #ifndef DEFAULT_ANGLE_MAX # define DEFAULT_ANGLE_MAX 3000 // ANGLE_MAX parameters default value #endif -#ifndef ANGLE_RATE_MAX - # define ANGLE_RATE_MAX 18000 // default maximum rotation rate in roll/pitch axis requested by angle controller used in stabilize, loiter, rtl, auto flight modes -#endif ////////////////////////////////////////////////////////////////////////////// // Stop mode defaults @@ -589,15 +575,6 @@ # define PILOT_ACCEL_Z_DEFAULT 250 // vertical acceleration in cm/s/s while altitude is under pilot control #endif -// max distance in cm above or below current location that will be used for the alt target when transitioning to alt-hold mode -#ifndef ALT_HOLD_INIT_MAX_OVERSHOOT - # define ALT_HOLD_INIT_MAX_OVERSHOOT 200 -#endif -// the acceleration used to define the distance-velocity curve -#ifndef ALT_HOLD_ACCEL_MAX - # define ALT_HOLD_ACCEL_MAX 250 // if you change this you must also update the duplicate declaration in AC_WPNav.h -#endif - #ifndef AUTO_DISARMING_DELAY # define AUTO_DISARMING_DELAY 10 #endif