#$ TITLE: Reset selected 4.3 Tune related settings.
#$ FIRMWARE_VERSION: 4.3
#$ CATEGORY: TUNE
#$ STATUS: OFFICIAL
#$ KEYWORDS: reset, tune, some, partial
#$ AUTHOR: Betaflight
#$ DESCRIPTION: Check the tune parameters that you want to reset to defaults.
#$ DESCRIPTION: Un-checked parameters will remain at current values.
#$ PRIORITY: 0

#  -- PID settings --

#$ OPTION BEGIN (UNCHECKED): PID values
set p_pitch = 44
set i_pitch = 79
set d_pitch = 41
set d_min_pitch = 29
set f_pitch = 132

set p_roll = 42
set i_roll = 76
set d_roll = 35
set d_min_roll = 25
set f_roll = 125

set p_yaw = 42
set i_yaw = 76
set d_yaw = 0
set d_min_yaw = 0
set f_yaw = 125
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): PID Sliders
set simplified_pids_mode = RPY
set simplified_master_multiplier = 100
set simplified_i_gain = 100
set simplified_d_gain = 100
set simplified_pi_gain = 100
set simplified_dmax_gain = 100
set simplified_feedforward_gain = 100
set simplified_pitch_d_gain = 115
set simplified_pitch_pi_gain = 105
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): iTerm Relax
set iterm_relax = RP
set iterm_relax_type = SETPOINT
set iterm_relax_cutoff = 15
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): iTerm Windup
set iterm_windup = 85
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): iTerm Rotation
set iterm_rotation = OFF
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): DMax settings
set d_max_gain = 37
set d_max_advance = 20
set simplified_dmax_gain = 100
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): TPA
set tpa_rate = 65
set tpa_breakpoint = 1350
set tpa_mode = D
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): AntiGravity
set anti_gravity_mode = SMOOTH
set anti_gravity_threshold = 250
set anti_gravity_gain = 3500
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Feedforward
set feedforward_max_rate_limit = 95
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): PID Sum Limit
set pidsum_limit = 500
set pidsum_limit_yaw = 400
set iterm_limit = 400
#$ OPTION END


#  -- Miscellaneous settings --

#$ OPTION BEGIN (UNCHECKED): Yaw spin recovery auto
set yaw_spin_recovery = AUTO
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Arm only while level
set small_angle = 25
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Power on arm grace time 5
set pwr_on_arm_grace = 5
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Deadbands to zero
set deadband = 0
set yaw_deadband = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Min check 1070
set min_check = 1050
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Min throttle 1050
set min_throttle = 1070
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Mixer type default
set mixer_type = LEGACY
#$ OPTION END


#  -- Level and Horizon settings -- 

#$ OPTION BEGIN (UNCHECKED): Angle and Horizon reset
# set angle_level_strength = 50
# set horizon_level_strength = 50
# set horizon_transition = 75
# set level_limit = 55
# set horizon_tilt_effect = 75
# set horizon_tilt_expert_mode = OFF
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Level Race Mode off
set level_race_mode = OFF
#$ OPTION END


#  -- Voltage and motor output settings -- 

#$ OPTION BEGIN (UNCHECKED): Motor output limit 100
set motor_output_limit = 100
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Thrust Linear off
set thrust_linear = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Throttle limit off
set throttle_limit_type = OFF
set throttle_limit_percent = 100
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Throttle curve flat
set thr_mid = 50
set thr_expo = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Throttle boost reset
set throttle_boost = 5
set throttle_boost_cutoff = 15
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): VBat Sag Compensation off
set vbat_sag_compensation = 0
set vbat_sag_lpf_period = 2
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Voltage monitoring reset
set vbat_max_cell_voltage = 430
set vbat_full_cell_voltage = 410
set vbat_warning_cell_voltage = 350
set vbat_min_cell_voltage = 330
set vbat_detect_cell_voltage = 300
set vbat_hysteresis = 1
set vbat_display_lpf_period = 10
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Full pack voltage telemetry
set report_cell_voltage = OFF
#$ OPTION END

#  -- Specialised settings -- 

#$ OPTION BEGIN (UNCHECKED): DShot Telemetry (off)
set dshot_bidir = OFF
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Dynamic idle off & reset
set dyn_idle_min_rpm = 0
set dyn_idle_p_gain = 50
set dyn_idle_i_gain = 50
set dyn_idle_d_gain = 50
set dyn_idle_max_increase = 150
set motor_pwm_rate = 480
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Runaway takeoff prevention on
set runaway_takeoff_prevention = ON
set runaway_takeoff_deactivate_delay = 500
set runaway_takeoff_deactivate_throttle_percent = 20
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Crash recovery settings
set crash_dthreshold = 50
set crash_gthreshold = 400
set crash_setpoint_threshold = 350
set crash_time = 500
set crash_delay = 0
set crash_recovery_angle = 10
set crash_recovery_rate = 100
set crash_limit_yaw = 200
set crash_recovery = OFF
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Turtle mode settings
set crashflip_motor_percent = 0
set crashflip_expo = 35
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Acro trainer settings
set acro_trainer_angle_limit = 20
set acro_trainer_lookahead_ms = 50
set acro_trainer_debug_axis = ROLL
set acro_trainer_gain = 75
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Launch control settings
set launch_control_mode = NORMAL
set launch_trigger_allow_reset = ON
set launch_trigger_throttle_percent = 20
set launch_angle_limit = 0
set launch_control_gain = 40
#$ OPTION END


#  -- Rarely used or deprecated settings -- 

#$ OPTION BEGIN (UNCHECKED): Absolute control (off)
set abs_control_gain = 0
set abs_control_limit = 90
set abs_control_error_limit = 20
set abs_control_cutoff = 11
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): PIDs at min throttle (on)
set pid_at_min_throttle = ON
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Acceleration limits (off)
set acc_limit_yaw = 0
set acc_limit = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Integrated yaw (off)
set use_integrated_yaw = OFF
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Gyro Cal first arm (off)
set gyro_cal_on_first_arm = OFF
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Transient throttle limit (off)
set transient_throttle_limit = 0
#$ OPTION END

