Skip to content

Commit

Permalink
Supafly 4.5 Tune Updates (#422)
Browse files Browse the repository at this point in the history
* 4.5 Tune Updates

* Fixes

---------

Co-authored-by: Supafly FPV <[email protected]>
  • Loading branch information
SupaflyFPV and Supafly FPV authored Nov 17, 2023
1 parent 218ce63 commit 3907e97
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#$ TITLE: SupaflyFPV Freestyle 3/4 Inch
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: TUNE
#$ STATUS: OFFICIAL
#$ KEYWORDS: Supafly, SupaflyFPV, 4S, 6S, Freestyle, 3 inch, 4 inch, 3", 4"
Expand Down Expand Up @@ -47,27 +48,28 @@

# -- Antigravity --

set anti_gravity_gain = 100
set anti_gravity_gain = 120
set feedforward_transition = 30

#$ OPTION_GROUP BEGIN:PIDs

#$ OPTION BEGIN (CHECKED):With HD Cam
#$ OPTION BEGIN (CHECKED):With Action Camera

set simplified_master_multiplier = 100
set simplified_i_gain = 75
set simplified_d_gain = 90
set simplified_i_gain = 90
set simplified_d_gain = 100
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 90
set simplified_pitch_pi_gain = 115

#$ OPTION END

#$ OPTION BEGIN (UNCHECKED):No HD Cam
#$ OPTION BEGIN (UNCHECKED):No Action Camera

set simplified_master_multiplier = 95
set simplified_i_gain = 75
set simplified_d_gain = 90
set simplified_i_gain = 90
set simplified_d_gain = 100
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 90
Expand All @@ -82,13 +84,13 @@ set anti_gravity_gain = 100
#$ INCLUDE: presets/4.3/filters/defaults.txt

set dshot_bidir = OFF
set simplified_gyro_filter_multiplier = 120
set simplified_gyro_filter_multiplier = 160
set gyro_lpf1_static_hz = 0
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set dyn_notch_count = 5
set dyn_notch_q = 400
set dyn_notch_min_hz = 100
set dyn_notch_count = 3
set dyn_notch_q = 300
set dyn_notch_min_hz = 90
set dyn_notch_max_hz = 800

set simplified_dterm_filter_multiplier = 140
Expand All @@ -106,6 +108,7 @@ set dterm_lpf1_dyn_expo = 0
set rpm_filter_harmonics = 3
set rpm_filter_q = 1000
set dyn_notch_count = 2
set dyn_notch_q = 400
set rpm_filter_fade_range_hz = 100

#$ OPTION END
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#$ TITLE: SupaflyFPV Freestyle 5 Inch
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: TUNE
#$ STATUS: OFFICIAL
#$ KEYWORDS: Supafly, SupaflyFPV, 4S, 6S, Freestyle, 5 inch, 5"
Expand Down Expand Up @@ -50,51 +51,52 @@

# -- Antigravity --

set anti_gravity_gain = 100
set anti_gravity_gain = 120
set feedforward_transition = 30

#$ OPTION_GROUP BEGIN:PIDs

#$ OPTION BEGIN (CHECKED): 4s Lipo with HD Camera (2400-2700kv motors)
#$ OPTION BEGIN (CHECKED): 4s Lipo with Action Camera (2400-2700kv motors)

set simplified_master_multiplier = 130
set simplified_i_gain = 85
set simplified_d_gain = 90
set simplified_d_gain = 100
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 90
set simplified_pitch_pi_gain = 115

#$ OPTION END

#$ OPTION BEGIN (UNCHECKED):4s Lipo no HD Camera (2400-2700kv motors)
#$ OPTION BEGIN (UNCHECKED):4s Lipo no Action Camera (2400-2700kv motors)

set simplified_master_multiplier = 125
set simplified_i_gain = 85
set simplified_d_gain = 90
set simplified_d_gain = 100
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 90
set simplified_pitch_pi_gain = 105

#$ OPTION END

#$ OPTION BEGIN (UNCHECKED):6s Lipo with HD Camera (1750 - 1950kv motors)
#$ OPTION BEGIN (UNCHECKED):6s Lipo with Action Camera (1750 - 1950kv motors)

set simplified_master_multiplier = 115
set simplified_i_gain = 85
set simplified_d_gain = 90
set simplified_d_gain = 100
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 90
set simplified_pitch_pi_gain = 115

#$ OPTION END

#$ OPTION BEGIN (UNCHECKED):6s Lipo no HD Camera (1750 - 1950kv motors)
#$ OPTION BEGIN (UNCHECKED):6s Lipo no Action Camera (1750 - 1950kv motors)

set simplified_master_multiplier = 110
set simplified_i_gain = 85
set simplified_d_gain = 90
set simplified_d_gain = 100
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 90
Expand All @@ -109,12 +111,12 @@ set anti_gravity_gain = 100
#$ INCLUDE: presets/4.3/filters/defaults.txt

set dshot_bidir = OFF
set simplified_gyro_filter_multiplier = 120
set simplified_gyro_filter_multiplier = 160
set gyro_lpf1_static_hz = 0
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set dyn_notch_count = 5
set dyn_notch_q = 400
set dyn_notch_count = 4
set dyn_notch_q = 300
set dyn_notch_min_hz = 90
set dyn_notch_max_hz = 800

Expand All @@ -132,6 +134,7 @@ set dterm_lpf1_dyn_expo = 0
set rpm_filter_harmonics = 3
set rpm_filter_q = 1000
set dyn_notch_count = 2
set dyn_notch_q = 400
set rpm_filter_fade_range_hz = 100

#$ OPTION END
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#$ TITLE: SupaflyFPV Freestyle 6 Inch
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: TUNE
#$ STATUS: OFFICIAL
#$ KEYWORDS: Supafly, SupaflyFPV, Freestyle, 6 inch, 6"
Expand Down Expand Up @@ -48,24 +49,25 @@

# -- Antigravity --

set anti_gravity_gain = 100
set anti_gravity_gain = 120
set feedforward_transition = 30

#$ OPTION_GROUP BEGIN:PIDs

#$ OPTION BEGIN (CHECKED):With HD Cam
#$ OPTION BEGIN (CHECKED):With Action Camera

set simplified_master_multiplier = 130
set simplified_i_gain = 95
set simplified_d_gain = 100
set simplified_d_gain = 105
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 100
set simplified_pitch_d_gain = 110
set simplified_pitch_pi_gain = 115
set simplified_pitch_pi_gain = 110

#$ OPTION END

#$ OPTION BEGIN (UNCHECKED):No HD Cam
#$ OPTION BEGIN (UNCHECKED):No Action Camera

set simplified_master_multiplier = 125
set simplified_i_gain = 95
Expand All @@ -85,12 +87,12 @@ set anti_gravity_gain = 100
#$ INCLUDE: presets/4.3/filters/defaults.txt

set dshot_bidir = OFF
set simplified_gyro_filter_multiplier = 100
set simplified_gyro_filter_multiplier = 120
set gyro_lpf1_static_hz = 0
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set dyn_notch_count = 5
set dyn_notch_q = 400
set dyn_notch_count = 4
set dyn_notch_q = 300
set dyn_notch_min_hz = 80
set dyn_notch_max_hz = 800

Expand All @@ -110,6 +112,7 @@ set dterm_lpf2_static_hz = 210
set rpm_filter_harmonics = 3
set rpm_filter_q = 800
set dyn_notch_count = 2
set dyn_notch_q = 400
set rpm_filter_min_hz = 90

#$ OPTION END
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#$ TITLE: SupaflyFPV Freestyle 7 Inch
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: TUNE
#$ STATUS: OFFICIAL
#$ KEYWORDS: Supafly, SupaflyFPV, Freestyle, 7 inch, 7"
Expand Down Expand Up @@ -46,24 +47,25 @@

#$ INCLUDE: presets/4.4/tune/defaults.txt

set anti_gravity_gain = 100
set anti_gravity_gain = 120
set feedforward_transition = 30

#$ OPTION_GROUP BEGIN:PIDs

#$ OPTION BEGIN (CHECKED):With HD Cam
#$ OPTION BEGIN (CHECKED):With Action Camera

set simplified_master_multiplier = 140
set simplified_i_gain = 100
set simplified_d_gain = 115
set simplified_pi_gain = 115
set simplified_pi_gain = 110
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 100
set simplified_pitch_d_gain = 115
set simplified_pitch_pi_gain = 115
set simplified_pitch_pi_gain = 110

#$ OPTION END

#$ OPTION BEGIN (UNCHECKED):No HD Cam
#$ OPTION BEGIN (UNCHECKED):No Action Camera

set simplified_master_multiplier = 135
set simplified_i_gain = 100
Expand All @@ -87,8 +89,8 @@ set simplified_gyro_filter_multiplier = 80
set gyro_lpf1_static_hz = 0
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set dyn_notch_count = 5
set dyn_notch_q = 400
set dyn_notch_count = 4
set dyn_notch_q = 300
set dyn_notch_min_hz = 70
set dyn_notch_max_hz = 800

Expand All @@ -106,6 +108,7 @@ set dterm_lpf1_dyn_expo = 0
set rpm_filter_harmonics = 3
set rpm_filter_q = 700
set dyn_notch_count = 2
set dyn_notch_q = 300
set rpm_filter_min_hz = 70

#$ OPTION END
Expand Down

0 comments on commit 3907e97

Please sign in to comment.