Skip to content

Instantly share code, notes, and snippets.

@nerdCopter
Last active January 13, 2022 14:54
Show Gist options
  • Save nerdCopter/338a778da6a02f8be349628425349524 to your computer and use it in GitHub Desktop.
Save nerdCopter/338a778da6a02f8be349628425349524 to your computer and use it in GitHub Desktop.
Apex Clone EmuFlight 0.4.0 "presets/tunes" - choose profile 0(static) or 1(dynamic), not both
### FROM DEFAULTS, then add
# version
# EmuFlight / APEXF7 (APF7) 0.4.0 Sep 12 2021 / 09:41:15 (8e3969050) MSP API: 1.51
# name
name nerdAPEX6
# mixer
mixer CUSTOM
mmix 0 1.000 -1.000 0.702 1.000
mmix 1 1.000 -1.000 -0.702 -1.000
mmix 2 1.000 1.000 0.702 -1.000
mmix 3 1.000 1.000 -0.702 1.000
# feature
feature TELEMETRY
feature OSD
# beacon
beacon RX_LOST
beacon RX_SET
# master
set gyro_lowpass_hz_roll = 120
set gyro_lowpass_hz_pitch = 120
set gyro_lowpass_hz_yaw = 110
set imuf_roll_q = 5000 # 6000 works as well, maybe at cost of motor temperature
set imuf_pitch_q = 5000 # 6000 works as well, ...
set imuf_yaw_q = 5000 # 6000 works as well,
set dynamic_gyro_notch_q = 400 # 500 works as well, maybe at cost of motor temperature
set dynamic_gyro_notch_min_hz = 120
set dynamic_gyro_notch_max_hz = 480
set rc_interp = MANUAL
set rc_interp_ch = RPYT
set rc_interp_int = 21
set rc_smoothing_type = INTERPOLATION
set dshot_idle_value = 500
set motor_pwm_protocol = DSHOT1200
###### STATIC LPF profile ######
# profile
profile 0
feature -DYNAMIC_FILTER
set dterm_dyn_notch_enable = OFF
set dterm_lowpass_type = PT2
set dterm_lowpass_hz_roll = 144
set dterm_lowpass_hz_pitch = 144
set dterm_lowpass_hz_yaw = 144
set dterm_lowpass2_type = PT1
set dterm_lowpass2_hz_roll = 220
set dterm_lowpass2_hz_pitch = 220
set dterm_lowpass2_hz_yaw = 220
set iterm_relax_cutoff = 8
set iterm_relax_cutoff_yaw = 20
set feathered_pids = 50
set emu_boost = 150
set emu_boost_yaw = 150
set emu_boost_limit = 30
set emu_boost_limit_yaw = 30
set p_yaw = 80
set i_yaw = 90
set d_yaw = 2
set linear_thrust_low_output = 60
set linear_thrust_high_output = 25
set mixer_laziness = ON
set motor_output_limit = 90
###### DYNAMIC filter profile ######
# profile
profile 1
feature DYNAMIC_FILTER
set dterm_dyn_notch_enable = ON
set dterm_dyn_notch_q = 400 # 500 works as well, maybe at cost of motor temperature
set dterm_lowpass_type = PT2
set dterm_lowpass_hz_roll = 150
set dterm_lowpass_hz_pitch = 150
set dterm_lowpass_hz_yaw = 150
set dterm_lowpass2_type = PT1
set dterm_lowpass2_hz_roll = 0
set dterm_lowpass2_hz_pitch = 0
set dterm_lowpass2_hz_yaw = 0
set iterm_relax_cutoff = 8
set iterm_relax_cutoff_yaw = 20
set feathered_pids = 50
set emu_boost = 150
set emu_boost_yaw = 150
set emu_boost_limit = 30
set emu_boost_limit_yaw = 30
set axis_lock_multiplier = 2
set p_yaw = 80
set i_yaw = 90
set d_yaw = 2
set linear_thrust_low_output = 60
set linear_thrust_high_output = 25
set mixer_laziness = ON
set motor_output_limit = 90
# restore original profile selection
profile 1
# rateprofile
rateprofile 0
set thr_mid = 5
set thr_expo = 40
set roll_rc_rate = 94
set pitch_rc_rate = 94
set yaw_rc_rate = 90
set roll_expo = 30
set pitch_expo = 30
set yaw_expo = 30
set roll_srate = 77
set pitch_srate = 77
set yaw_srate = 75
set tpa_rate_i = 110
set tpa_breakpoint = 1400
# save configuration
save
@nerdCopter
Copy link
Author

i've since tuned differently from this, but it should still work as a fair start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment