APM:Copter
Macros
config.h File Reference
#include "defines.h"
#include "APM_Config.h"
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HIL_MODE   HIL_MODE_DISABLED
 /////////////////////////////////////////////////////////////////////////// More...
 
#define MAGNETOMETER   ENABLED
 
#define ARMING_DELAY_SEC   2.0f
 
#define FRAME_CONFIG   MULTICOPTER_FRAME
 
#define RC_FAST_SPEED   490
 
#define RANGEFINDER_ENABLED   ENABLED
 
#define RANGEFINDER_HEALTH_MAX   3
 
#define RANGEFINDER_GAIN_DEFAULT   0.8f
 
#define THR_SURFACE_TRACKING_VELZ_MAX   150
 
#define RANGEFINDER_TIMEOUT_MS   1000
 
#define RANGEFINDER_WPNAV_FILT_HZ   0.25f
 
#define RANGEFINDER_TILT_CORRECTION   ENABLED
 
#define RANGEFINDER_GLITCH_ALT_CM   200
 
#define RANGEFINDER_GLITCH_NUM_SAMPLES   3
 
#define PROXIMITY_ENABLED   ENABLED
 
#define MAV_SYSTEM_ID   1
 
#define BOARD_VOLTAGE_MIN   4.3f
 
#define BOARD_VOLTAGE_MAX   5.8f
 
#define GPS_HDOP_GOOD_DEFAULT   140
 
#define FS_GCS   DISABLED
 
#define FS_GCS_TIMEOUT_MS   5000
 
#define FS_RADIO_RC_OVERRIDE_TIMEOUT_MS   1000
 
#define FS_RADIO_TIMEOUT_MS   500
 
#define FS_TERRAIN_TIMEOUT_MS   5000
 
#define PREARM_DISPLAY_PERIOD   30
 
#define PREARM_MAX_ALT_DISPARITY_CM   100
 
#define FS_EKF_ACTION_DEFAULT   FS_EKF_ACTION_LAND
 
#define FS_EKF_THRESHOLD_DEFAULT   0.8f
 
#define EKF_ORIGIN_MAX_DIST_M   50000
 
#define COMPASS_CAL_STICK_GESTURE_TIME   2.0f
 
#define COMPASS_CAL_STICK_DELAY   5.0f
 
#define OPTFLOW   ENABLED
 
#define VISUAL_ODOMETRY_ENABLED   !HAL_MINIMIZE_FEATURES
 
#define AUTOTUNE_ENABLED   ENABLED
 
#define SPRAYER   !HAL_MINIMIZE_FEATURES
 
#define PRECISION_LANDING   ENABLED
 
#define GRIPPER_ENABLED   !HAL_MINIMIZE_FEATURES
 
#define WINCH_ENABLED   !HAL_MINIMIZE_FEATURES
 
#define RPM_ENABLED   ENABLED
 
#define PARACHUTE   ENABLED
 
#define ADSB_ENABLED   !HAL_MINIMIZE_FEATURES
 
#define NAV_GUIDED   !HAL_MINIMIZE_FEATURES
 
#define MODE_ACRO_ENABLED   ENABLED
 
#define MODE_AUTO_ENABLED   ENABLED
 
#define MODE_BRAKE_ENABLED   ENABLED
 
#define MODE_CIRCLE_ENABLED   ENABLED
 
#define MODE_DRIFT_ENABLED   ENABLED
 
#define MODE_FOLLOW_ENABLED   !HAL_MINIMIZE_FEATURES
 
#define MODE_GUIDED_ENABLED   ENABLED
 
#define MODE_GUIDED_NOGPS_ENABLED   ENABLED
 
#define MODE_LOITER_ENABLED   ENABLED
 
#define MODE_POSHOLD_ENABLED   ENABLED
 
#define MODE_RTL_ENABLED   ENABLED
 
#define MODE_SMARTRTL_ENABLED   ENABLED
 
#define MODE_SPORT_ENABLED   !HAL_MINIMIZE_FEATURES
 
#define MODE_THROW_ENABLED   ENABLED
 
#define BEACON_ENABLED   !HAL_MINIMIZE_FEATURES
 
#define FLIGHT_MODE_1   STABILIZE
 
#define FLIGHT_MODE_2   STABILIZE
 
#define FLIGHT_MODE_3   STABILIZE
 
#define FLIGHT_MODE_4   STABILIZE
 
#define FLIGHT_MODE_5   STABILIZE
 
#define FLIGHT_MODE_6   STABILIZE
 
#define FS_THR_VALUE_DEFAULT   975
 
#define PILOT_TKOFF_ALT_DEFAULT   0
 
#define LAND_SPEED   50
 
#define LAND_REPOSITION_DEFAULT   1
 
#define LAND_WITH_DELAY_MS   4000
 
#define LAND_CANCEL_TRIGGER_THR   700
 
#define LAND_RANGEFINDER_MIN_ALT_CM   200
 
#define LAND_DETECTOR_TRIGGER_SEC   1.0f
 
#define LAND_DETECTOR_MAYBE_TRIGGER_SEC   0.2f
 
#define LAND_DETECTOR_ACCEL_LPF_CUTOFF   1.0f
 
#define LAND_DETECTOR_ACCEL_MAX   1.0f
 
#define CAMERA   ENABLED
 
#define MOUNT   ENABLED
 
#define ACRO_RP_P   4.5f
 
#define ACRO_YAW_P   4.5f
 
#define ACRO_LEVEL_MAX_ANGLE   3000
 
#define ACRO_BALANCE_ROLL   1.0f
 
#define ACRO_BALANCE_PITCH   1.0f
 
#define ACRO_RP_EXPO_DEFAULT   0.3f
 
#define ACRO_Y_EXPO_DEFAULT   0.0f
 
#define ACRO_THR_MID_DEFAULT   0.0f
 
#define RTL_ALT_FINAL   0
 
#define RTL_ALT   1500
 
#define RTL_ALT_MIN   200
 
#define RTL_CLIMB_MIN_DEFAULT   0
 
#define RTL_ABS_MIN_CLIMB   250
 
#define RTL_CONE_SLOPE_DEFAULT   3.0f
 
#define RTL_MIN_CONE_SLOPE   0.5f
 
#define RTL_LOITER_TIME   5000
 
#define WP_YAW_BEHAVIOR_DEFAULT   WP_YAW_BEHAVIOR_LOOK_AT_NEXT_WP_EXCEPT_RTL
 
#define AUTO_YAW_SLEW_RATE   60
 
#define YAW_LOOK_AHEAD_MIN_SPEED   100
 
#define SUPER_SIMPLE_RADIUS   1000
 
#define ROLL_PITCH_YAW_INPUT_MAX   4500
 
#define DEFAULT_ANGLE_MAX   4500
 
#define ANGLE_RATE_MAX   18000
 
#define BRAKE_MODE_SPEED_Z   250
 
#define BRAKE_MODE_DECEL_RATE   750
 
#define POSHOLD_BRAKE_RATE_DEFAULT   8
 
#define POSHOLD_BRAKE_ANGLE_DEFAULT   3000
 
#define THR_DZ_DEFAULT   100
 
#define PILOT_VELZ_MAX   250
 
#define PILOT_ACCEL_Z_DEFAULT   250
 
#define ALT_HOLD_INIT_MAX_OVERSHOOT   200
 
#define ALT_HOLD_ACCEL_MAX   250
 
#define AUTO_DISARMING_DELAY   10
 
#define THROW_HIGH_SPEED   500.0f
 
#define THROW_VERTICAL_SPEED   50.0f
 
#define LOGGING_ENABLED   ENABLED
 
#define DEFAULT_LOG_BITMASK
 
#define AC_FENCE   ENABLED
 
#define AC_RALLY   ENABLED
 
#define AC_TERRAIN   ENABLED
 
#define AC_AVOID_ENABLED   ENABLED
 
#define FRSKY_TELEM_ENABLED   ENABLED
 
#define ADVANCED_FAILSAFE   DISABLED
 
#define CH_MODE_DEFAULT   5
 
#define TOY_MODE_ENABLED   DISABLED
 
#define STATS_ENABLED   ENABLED
 
#define DEVO_TELEM_ENABLED   ENABLED
 

Macro Definition Documentation

◆ AC_AVOID_ENABLED

#define AC_AVOID_ENABLED   ENABLED

Definition at line 661 of file config.h.

◆ AC_FENCE

#define AC_FENCE   ENABLED

Definition at line 645 of file config.h.

◆ AC_RALLY

#define AC_RALLY   ENABLED

Definition at line 649 of file config.h.

◆ AC_TERRAIN

#define AC_TERRAIN   ENABLED

Definition at line 653 of file config.h.

◆ ACRO_BALANCE_PITCH

#define ACRO_BALANCE_PITCH   1.0f

Definition at line 475 of file config.h.

◆ ACRO_BALANCE_ROLL

#define ACRO_BALANCE_ROLL   1.0f

Definition at line 471 of file config.h.

◆ ACRO_LEVEL_MAX_ANGLE

#define ACRO_LEVEL_MAX_ANGLE   3000

◆ ACRO_RP_EXPO_DEFAULT

#define ACRO_RP_EXPO_DEFAULT   0.3f

Definition at line 479 of file config.h.

◆ ACRO_RP_P

#define ACRO_RP_P   4.5f

Definition at line 459 of file config.h.

◆ ACRO_THR_MID_DEFAULT

#define ACRO_THR_MID_DEFAULT   0.0f

Definition at line 487 of file config.h.

◆ ACRO_Y_EXPO_DEFAULT

#define ACRO_Y_EXPO_DEFAULT   0.0f

Definition at line 483 of file config.h.

◆ ACRO_YAW_P

#define ACRO_YAW_P   4.5f

Definition at line 463 of file config.h.

◆ ADSB_ENABLED

#define ADSB_ENABLED   !HAL_MINIMIZE_FEATURES

Definition at line 259 of file config.h.

◆ ADVANCED_FAILSAFE

#define ADVANCED_FAILSAFE   DISABLED

Definition at line 705 of file config.h.

◆ ALT_HOLD_ACCEL_MAX

#define ALT_HOLD_ACCEL_MAX   250

Definition at line 596 of file config.h.

◆ ALT_HOLD_INIT_MAX_OVERSHOOT

#define ALT_HOLD_INIT_MAX_OVERSHOOT   200

Definition at line 592 of file config.h.

◆ ANGLE_RATE_MAX

#define ANGLE_RATE_MAX   18000

Definition at line 551 of file config.h.

◆ ARMING_DELAY_SEC

#define ARMING_DELAY_SEC   2.0f

Definition at line 52 of file config.h.

Referenced by Copter::motors_output().

◆ AUTO_DISARMING_DELAY

#define AUTO_DISARMING_DELAY   10

Definition at line 600 of file config.h.

◆ AUTO_YAW_SLEW_RATE

#define AUTO_YAW_SLEW_RATE   60

Definition at line 529 of file config.h.

Referenced by Copter::Mode::AutoYaw::set_fixed_yaw().

◆ AUTOTUNE_ENABLED

#define AUTOTUNE_ENABLED   ENABLED

Definition at line 217 of file config.h.

◆ BEACON_ENABLED

#define BEACON_ENABLED   !HAL_MINIMIZE_FEATURES

Definition at line 355 of file config.h.

◆ BOARD_VOLTAGE_MAX

#define BOARD_VOLTAGE_MAX   5.8f

Definition at line 139 of file config.h.

◆ BOARD_VOLTAGE_MIN

#define BOARD_VOLTAGE_MIN   4.3f

Definition at line 135 of file config.h.

◆ BRAKE_MODE_DECEL_RATE

#define BRAKE_MODE_DECEL_RATE   750

◆ BRAKE_MODE_SPEED_Z

#define BRAKE_MODE_SPEED_Z   250

Definition at line 558 of file config.h.

Referenced by Copter::ModeBrake::init(), and Copter::ModeThrow::run().

◆ CAMERA

#define CAMERA   ENABLED

Definition at line 442 of file config.h.

◆ CH_MODE_DEFAULT

#define CH_MODE_DEFAULT   5

Definition at line 709 of file config.h.

◆ COMPASS_CAL_STICK_DELAY

#define COMPASS_CAL_STICK_DELAY   5.0f

Definition at line 202 of file config.h.

Referenced by Copter::compass_cal_update().

◆ COMPASS_CAL_STICK_GESTURE_TIME

#define COMPASS_CAL_STICK_GESTURE_TIME   2.0f

Definition at line 199 of file config.h.

Referenced by Copter::compass_cal_update().

◆ DEFAULT_ANGLE_MAX

#define DEFAULT_ANGLE_MAX   4500

Definition at line 548 of file config.h.

◆ DEFAULT_LOG_BITMASK

#define DEFAULT_LOG_BITMASK
Value:
MASK_LOG_GPS | \
MASK_LOG_PM | \
MASK_LOG_CTUN | \
MASK_LOG_NTUN | \
MASK_LOG_RCIN | \
MASK_LOG_IMU | \
MASK_LOG_CMD | \
MASK_LOG_CURRENT | \
MASK_LOG_RCOUT | \
MASK_LOG_OPTFLOW | \
MASK_LOG_COMPASS | \
MASK_LOG_CAMERA | \
MASK_LOG_MOTBATT
#define MASK_LOG_ATTITUDE_MED
Definition: defines.h:315

Definition at line 622 of file config.h.

◆ DEVO_TELEM_ENABLED

#define DEVO_TELEM_ENABLED   ENABLED

Definition at line 728 of file config.h.

◆ EKF_ORIGIN_MAX_DIST_M

#define EKF_ORIGIN_MAX_DIST_M   50000

Definition at line 189 of file config.h.

Referenced by Copter::far_from_EKF_origin().

◆ FLIGHT_MODE_1

#define FLIGHT_MODE_1   STABILIZE

Definition at line 369 of file config.h.

◆ FLIGHT_MODE_2

#define FLIGHT_MODE_2   STABILIZE

Definition at line 372 of file config.h.

◆ FLIGHT_MODE_3

#define FLIGHT_MODE_3   STABILIZE

Definition at line 375 of file config.h.

◆ FLIGHT_MODE_4

#define FLIGHT_MODE_4   STABILIZE

Definition at line 378 of file config.h.

◆ FLIGHT_MODE_5

#define FLIGHT_MODE_5   STABILIZE

Definition at line 381 of file config.h.

◆ FLIGHT_MODE_6

#define FLIGHT_MODE_6   STABILIZE

Definition at line 384 of file config.h.

◆ FRAME_CONFIG

#define FRAME_CONFIG   MULTICOPTER_FRAME

Definition at line 59 of file config.h.

Referenced by Copter::set_default_frame_class().

◆ FRSKY_TELEM_ENABLED

#define FRSKY_TELEM_ENABLED   ENABLED

Definition at line 701 of file config.h.

◆ FS_EKF_ACTION_DEFAULT

#define FS_EKF_ACTION_DEFAULT   FS_EKF_ACTION_LAND

Definition at line 182 of file config.h.

◆ FS_EKF_THRESHOLD_DEFAULT

#define FS_EKF_THRESHOLD_DEFAULT   0.8f

Definition at line 185 of file config.h.

◆ FS_GCS

#define FS_GCS   DISABLED

Definition at line 149 of file config.h.

◆ FS_GCS_TIMEOUT_MS

#define FS_GCS_TIMEOUT_MS   5000

Definition at line 152 of file config.h.

Referenced by Copter::failsafe_gcs_check().

◆ FS_RADIO_RC_OVERRIDE_TIMEOUT_MS

#define FS_RADIO_RC_OVERRIDE_TIMEOUT_MS   1000

Definition at line 157 of file config.h.

Referenced by Copter::read_radio().

◆ FS_RADIO_TIMEOUT_MS

#define FS_RADIO_TIMEOUT_MS   500

Definition at line 162 of file config.h.

Referenced by Copter::read_radio().

◆ FS_TERRAIN_TIMEOUT_MS

#define FS_TERRAIN_TIMEOUT_MS   5000

Definition at line 167 of file config.h.

Referenced by Copter::failsafe_terrain_check().

◆ FS_THR_VALUE_DEFAULT

#define FS_THR_VALUE_DEFAULT   975

Definition at line 392 of file config.h.

◆ GPS_HDOP_GOOD_DEFAULT

#define GPS_HDOP_GOOD_DEFAULT   140

Definition at line 144 of file config.h.

◆ GRIPPER_ENABLED

#define GRIPPER_ENABLED   !HAL_MINIMIZE_FEATURES

Definition at line 235 of file config.h.

◆ HIL_MODE

#define HIL_MODE   HIL_MODE_DISABLED

///////////////////////////////////////////////////////////////////////////

DO NOT EDIT THIS INCLUDE - if you want to make a local change, make that change in your local copy of APM_Config.h.

Definition at line 46 of file config.h.

◆ LAND_CANCEL_TRIGGER_THR

#define LAND_CANCEL_TRIGGER_THR   700

◆ LAND_DETECTOR_ACCEL_LPF_CUTOFF

#define LAND_DETECTOR_ACCEL_LPF_CUTOFF   1.0f

Definition at line 432 of file config.h.

◆ LAND_DETECTOR_ACCEL_MAX

#define LAND_DETECTOR_ACCEL_MAX   1.0f

Definition at line 435 of file config.h.

Referenced by Copter::update_land_detector().

◆ LAND_DETECTOR_MAYBE_TRIGGER_SEC

#define LAND_DETECTOR_MAYBE_TRIGGER_SEC   0.2f

Definition at line 429 of file config.h.

Referenced by Copter::update_land_detector().

◆ LAND_DETECTOR_TRIGGER_SEC

#define LAND_DETECTOR_TRIGGER_SEC   1.0f

Definition at line 426 of file config.h.

Referenced by Copter::update_land_detector().

◆ LAND_RANGEFINDER_MIN_ALT_CM

#define LAND_RANGEFINDER_MIN_ALT_CM   200

Definition at line 419 of file config.h.

Referenced by Copter::update_land_detector().

◆ LAND_REPOSITION_DEFAULT

#define LAND_REPOSITION_DEFAULT   1

Definition at line 410 of file config.h.

◆ LAND_SPEED

#define LAND_SPEED   50

Definition at line 407 of file config.h.

◆ LAND_WITH_DELAY_MS

#define LAND_WITH_DELAY_MS   4000

Definition at line 413 of file config.h.

Referenced by Copter::ModeLand::gps_run(), and Copter::ModeLand::nogps_run().

◆ LOGGING_ENABLED

#define LOGGING_ENABLED   ENABLED

Definition at line 617 of file config.h.

◆ MAGNETOMETER

#define MAGNETOMETER   ENABLED

Definition at line 49 of file config.h.

◆ MAV_SYSTEM_ID

#define MAV_SYSTEM_ID   1

Definition at line 127 of file config.h.

◆ MODE_ACRO_ENABLED

#define MODE_ACRO_ENABLED   ENABLED

Definition at line 271 of file config.h.

◆ MODE_AUTO_ENABLED

#define MODE_AUTO_ENABLED   ENABLED

Definition at line 277 of file config.h.

◆ MODE_BRAKE_ENABLED

#define MODE_BRAKE_ENABLED   ENABLED

Definition at line 283 of file config.h.

◆ MODE_CIRCLE_ENABLED

#define MODE_CIRCLE_ENABLED   ENABLED

Definition at line 289 of file config.h.

◆ MODE_DRIFT_ENABLED

#define MODE_DRIFT_ENABLED   ENABLED

Definition at line 295 of file config.h.

◆ MODE_FOLLOW_ENABLED

#define MODE_FOLLOW_ENABLED   !HAL_MINIMIZE_FEATURES

Definition at line 301 of file config.h.

Referenced by Copter::mode_from_mode_num().

◆ MODE_GUIDED_ENABLED

#define MODE_GUIDED_ENABLED   ENABLED

Definition at line 307 of file config.h.

◆ MODE_GUIDED_NOGPS_ENABLED

#define MODE_GUIDED_NOGPS_ENABLED   ENABLED

Definition at line 313 of file config.h.

◆ MODE_LOITER_ENABLED

#define MODE_LOITER_ENABLED   ENABLED

Definition at line 319 of file config.h.

◆ MODE_POSHOLD_ENABLED

#define MODE_POSHOLD_ENABLED   ENABLED

Definition at line 325 of file config.h.

◆ MODE_RTL_ENABLED

#define MODE_RTL_ENABLED   ENABLED

Definition at line 331 of file config.h.

◆ MODE_SMARTRTL_ENABLED

#define MODE_SMARTRTL_ENABLED   ENABLED

Definition at line 337 of file config.h.

◆ MODE_SPORT_ENABLED

#define MODE_SPORT_ENABLED   !HAL_MINIMIZE_FEATURES

Definition at line 343 of file config.h.

◆ MODE_THROW_ENABLED

#define MODE_THROW_ENABLED   ENABLED

Definition at line 349 of file config.h.

Referenced by AP_Avoidance_Copter::handle_avoidance().

◆ MOUNT

#define MOUNT   ENABLED

Definition at line 449 of file config.h.

◆ NAV_GUIDED

#define NAV_GUIDED   !HAL_MINIMIZE_FEATURES

Definition at line 265 of file config.h.

◆ OPTFLOW

#define OPTFLOW   ENABLED

Definition at line 208 of file config.h.

◆ PARACHUTE

#define PARACHUTE   ENABLED

Definition at line 253 of file config.h.

◆ PILOT_ACCEL_Z_DEFAULT

#define PILOT_ACCEL_Z_DEFAULT   250

Definition at line 587 of file config.h.

◆ PILOT_TKOFF_ALT_DEFAULT

#define PILOT_TKOFF_ALT_DEFAULT   0

Definition at line 399 of file config.h.

◆ PILOT_VELZ_MAX

#define PILOT_VELZ_MAX   250

Definition at line 584 of file config.h.

◆ POSHOLD_BRAKE_ANGLE_DEFAULT

#define POSHOLD_BRAKE_ANGLE_DEFAULT   3000

Definition at line 571 of file config.h.

◆ POSHOLD_BRAKE_RATE_DEFAULT

#define POSHOLD_BRAKE_RATE_DEFAULT   8

Definition at line 568 of file config.h.

◆ PREARM_DISPLAY_PERIOD

#define PREARM_DISPLAY_PERIOD   30

Definition at line 171 of file config.h.

Referenced by AP_Arming_Copter::update().

◆ PREARM_MAX_ALT_DISPARITY_CM

#define PREARM_MAX_ALT_DISPARITY_CM   100

Definition at line 176 of file config.h.

Referenced by AP_Arming_Copter::barometer_checks().

◆ PRECISION_LANDING

#define PRECISION_LANDING   ENABLED

Definition at line 229 of file config.h.

◆ PROXIMITY_ENABLED

#define PROXIMITY_ENABLED   ENABLED

Definition at line 123 of file config.h.

◆ RANGEFINDER_ENABLED

#define RANGEFINDER_ENABLED   ENABLED

Definition at line 84 of file config.h.

◆ RANGEFINDER_GAIN_DEFAULT

#define RANGEFINDER_GAIN_DEFAULT   0.8f

Definition at line 92 of file config.h.

◆ RANGEFINDER_GLITCH_ALT_CM

#define RANGEFINDER_GLITCH_ALT_CM   200

Definition at line 112 of file config.h.

Referenced by Copter::get_surface_tracking_climb_rate().

◆ RANGEFINDER_GLITCH_NUM_SAMPLES

#define RANGEFINDER_GLITCH_NUM_SAMPLES   3

Definition at line 116 of file config.h.

Referenced by Copter::get_surface_tracking_climb_rate().

◆ RANGEFINDER_HEALTH_MAX

#define RANGEFINDER_HEALTH_MAX   3

Definition at line 88 of file config.h.

Referenced by Copter::read_rangefinder().

◆ RANGEFINDER_TILT_CORRECTION

#define RANGEFINDER_TILT_CORRECTION   ENABLED

Definition at line 108 of file config.h.

◆ RANGEFINDER_TIMEOUT_MS

#define RANGEFINDER_TIMEOUT_MS   1000

Definition at line 100 of file config.h.

Referenced by Copter::get_surface_tracking_climb_rate(), and Copter::read_rangefinder().

◆ RANGEFINDER_WPNAV_FILT_HZ

#define RANGEFINDER_WPNAV_FILT_HZ   0.25f

Definition at line 104 of file config.h.

Referenced by Copter::init_rangefinder().

◆ RC_FAST_SPEED

#define RC_FAST_SPEED   490

Definition at line 76 of file config.h.

◆ ROLL_PITCH_YAW_INPUT_MAX

#define ROLL_PITCH_YAW_INPUT_MAX   4500

◆ RPM_ENABLED

#define RPM_ENABLED   ENABLED

Definition at line 247 of file config.h.

◆ RTL_ABS_MIN_CLIMB

#define RTL_ABS_MIN_CLIMB   250

Definition at line 508 of file config.h.

Referenced by Copter::ModeRTL::compute_return_target().

◆ RTL_ALT

#define RTL_ALT   1500

Definition at line 496 of file config.h.

◆ RTL_ALT_FINAL

#define RTL_ALT_FINAL   0

Definition at line 492 of file config.h.

◆ RTL_ALT_MIN

#define RTL_ALT_MIN   200

Definition at line 500 of file config.h.

Referenced by Copter::ModeRTL::compute_return_target().

◆ RTL_CLIMB_MIN_DEFAULT

#define RTL_CLIMB_MIN_DEFAULT   0

Definition at line 504 of file config.h.

◆ RTL_CONE_SLOPE_DEFAULT

#define RTL_CONE_SLOPE_DEFAULT   3.0f

Definition at line 512 of file config.h.

◆ RTL_LOITER_TIME

#define RTL_LOITER_TIME   5000

Definition at line 520 of file config.h.

◆ RTL_MIN_CONE_SLOPE

#define RTL_MIN_CONE_SLOPE   0.5f

Definition at line 516 of file config.h.

Referenced by Copter::ModeRTL::compute_return_target().

◆ SPRAYER

#define SPRAYER   !HAL_MINIMIZE_FEATURES

Definition at line 223 of file config.h.

◆ STATS_ENABLED

#define STATS_ENABLED   ENABLED

Definition at line 721 of file config.h.

◆ SUPER_SIMPLE_RADIUS

#define SUPER_SIMPLE_RADIUS   1000

Definition at line 538 of file config.h.

Referenced by Copter::update_super_simple_bearing().

◆ THR_DZ_DEFAULT

#define THR_DZ_DEFAULT   100

Definition at line 579 of file config.h.

◆ THR_SURFACE_TRACKING_VELZ_MAX

#define THR_SURFACE_TRACKING_VELZ_MAX   150

Definition at line 96 of file config.h.

Referenced by Copter::get_surface_tracking_climb_rate().

◆ THROW_HIGH_SPEED

#define THROW_HIGH_SPEED   500.0f

Definition at line 607 of file config.h.

Referenced by Copter::ModeThrow::throw_detected().

◆ THROW_VERTICAL_SPEED

#define THROW_VERTICAL_SPEED   50.0f

Definition at line 610 of file config.h.

Referenced by Copter::ModeThrow::throw_detected().

◆ TOY_MODE_ENABLED

#define TOY_MODE_ENABLED   DISABLED

Definition at line 713 of file config.h.

◆ VISUAL_ODOMETRY_ENABLED

#define VISUAL_ODOMETRY_ENABLED   !HAL_MINIMIZE_FEATURES

Definition at line 211 of file config.h.

◆ WINCH_ENABLED

#define WINCH_ENABLED   !HAL_MINIMIZE_FEATURES

Definition at line 241 of file config.h.

◆ WP_YAW_BEHAVIOR_DEFAULT

#define WP_YAW_BEHAVIOR_DEFAULT   WP_YAW_BEHAVIOR_LOOK_AT_NEXT_WP_EXCEPT_RTL

Definition at line 525 of file config.h.

◆ YAW_LOOK_AHEAD_MIN_SPEED

#define YAW_LOOK_AHEAD_MIN_SPEED   100

Definition at line 533 of file config.h.

Referenced by Copter::Mode::AutoYaw::look_ahead_yaw().