Copter: remove unused definitions
This commit is contained in:
parent
5ac13c0355
commit
e18bf3af56
@ -47,11 +47,6 @@
|
||||
#define HIL_MODE HIL_MODE_DISABLED
|
||||
#endif
|
||||
|
||||
#if HIL_MODE != HIL_MODE_DISABLED // we are in HIL mode
|
||||
#undef RANGEFINDER_ENABLED
|
||||
#define RANGEFINDER_ENABLED DISABLED
|
||||
#endif
|
||||
|
||||
#define MAGNETOMETER ENABLED
|
||||
|
||||
// run at 400Hz on all systems
|
||||
@ -133,10 +128,6 @@
|
||||
# define RANGEFINDER_HEALTH_MAX 3 // number of good reads that indicates a healthy rangefinder
|
||||
#endif
|
||||
|
||||
#ifndef RANGEFINDER_RELIABLE_DISTANCE_PCT
|
||||
# define RANGEFINDER_RELIABLE_DISTANCE_PCT 0.60f // we trust the rangefinder out to 60% of it's maximum range
|
||||
#endif
|
||||
|
||||
#ifndef RANGEFINDER_GAIN_DEFAULT
|
||||
# define RANGEFINDER_GAIN_DEFAULT 0.8f // gain for controlling how quickly rangefinder range adjusts target altitude (lower means slower reaction)
|
||||
#endif
|
||||
|
@ -303,17 +303,12 @@ enum ThrowModeState {
|
||||
#define MASK_LOG_ANY 0xFFFF
|
||||
|
||||
// DATA - event logging
|
||||
#define DATA_MAVLINK_FLOAT 1
|
||||
#define DATA_MAVLINK_INT32 2
|
||||
#define DATA_MAVLINK_INT16 3
|
||||
#define DATA_MAVLINK_INT8 4
|
||||
#define DATA_AP_STATE 7
|
||||
#define DATA_SYSTEM_TIME_SET 8
|
||||
#define DATA_INIT_SIMPLE_BEARING 9
|
||||
#define DATA_ARMED 10
|
||||
#define DATA_DISARMED 11
|
||||
#define DATA_AUTO_ARMED 15
|
||||
#define DATA_TAKEOFF 16
|
||||
#define DATA_LAND_COMPLETE_MAYBE 17
|
||||
#define DATA_LAND_COMPLETE 18
|
||||
#define DATA_NOT_LANDED 28
|
||||
@ -334,7 +329,6 @@ enum ThrowModeState {
|
||||
#define DATA_AUTOTUNE_SAVEDGAINS 37
|
||||
#define DATA_SAVE_TRIM 38
|
||||
#define DATA_SAVEWP_ADD_WP 39
|
||||
#define DATA_SAVEWP_CLEAR_MISSION_RTL 40
|
||||
#define DATA_FENCE_ENABLE 41
|
||||
#define DATA_FENCE_DISABLE 42
|
||||
#define DATA_ACRO_TRAINER_DISABLED 43
|
||||
@ -342,7 +336,6 @@ enum ThrowModeState {
|
||||
#define DATA_ACRO_TRAINER_LIMITED 45
|
||||
#define DATA_EPM_GRAB 46
|
||||
#define DATA_EPM_RELEASE 47
|
||||
#define DATA_EPM_NEUTRAL 48 // deprecated
|
||||
#define DATA_PARACHUTE_DISABLED 49
|
||||
#define DATA_PARACHUTE_ENABLED 50
|
||||
#define DATA_PARACHUTE_RELEASED 51
|
||||
|
Loading…
Reference in New Issue
Block a user