From 82e483361674ceb96c9dd9794ec7c4ab4e61c3de Mon Sep 17 00:00:00 2001
From: SugaarK <83344205+sugaarK@users.noreply.github.com>
Date: Thu, 17 Oct 2024 14:51:08 +1100
Subject: [PATCH 1/4] new karate whoop tune late 2024
late 2024 light weight whoop race tune. developed with real black boxing thanks to the Betafpv 5n1. tested on NBD hummingbird v3 RS and Happy Model MOB 65 HDZ aio
---
presets/4.3/rates/SugarK_whoop.txt | 19 ++
.../tune/karate/karate_whoop_late_2024.txt | 183 ++++++++++++++++++
2 files changed, 202 insertions(+)
create mode 100644 presets/4.3/rates/SugarK_whoop.txt
create mode 100644 presets/4.5/tune/karate/karate_whoop_late_2024.txt
diff --git a/presets/4.3/rates/SugarK_whoop.txt b/presets/4.3/rates/SugarK_whoop.txt
new file mode 100644
index 000000000..561bde301
--- /dev/null
+++ b/presets/4.3/rates/SugarK_whoop.txt
@@ -0,0 +1,19 @@
+#$ TITLE: Sugar k Whoop rates
+#$ FIRMWARE_VERSION: 4.3
+#$ FIRMWARE_VERSION: 4.4
+#$ FIRMWARE_VERSION: 4.5
+#$ CATEGORY: RATES
+#$ STATUS: OFFICIAL
+#$ KEYWORDS: racing, rates, MultiGP, quaddiction, tyrant, sugar k
+#$ AUTHOR: sugarK
+#$ DESCRIPTION: Racing rates from Zak Smiley, aka SugarK, second fastest Dev in Betaflight.
+#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/366
+#$ INCLUDE: presets/4.3/rates/defaults.txt
+
+
+set roll_expo = 54
+set pitch_expo = 54
+set yaw_expo = 54
+set roll_srate = 52
+set pitch_srate = 52
+set yaw_srate = 57
diff --git a/presets/4.5/tune/karate/karate_whoop_late_2024.txt b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
new file mode 100644
index 000000000..f4053d88d
--- /dev/null
+++ b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
@@ -0,0 +1,183 @@
+#$ TITLE: Karate whoop late 2024
+#$ FIRMWARE_VERSION: 4.4
+#$ CATEGORY: TUNE
+#$ STATUS: EXPERIMENTAL
+#$ KEYWORDS: karate, 1S, race, brushless, whoop, 65mm, sugarK, KarateBrot
+#$ AUTHOR: sugarK
+
+#$ PARSER: MARKED
+
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION:
Karate Race 6S 5"
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION: This 1s whoop racing tune was developed using my custom Betafpv 5n1 build that weighs 15.6g [Air Brushless FC](https://betafpv.com/collections/brushless-flight-controller/products/air-brushless-flight-controller?variant=41142912745606) it is a slider tune allowing easy modification.
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION: This tune should work well on any BRUSHLESS powered quality whoop build in the sub 20g range. It shouldn't be used on a brushed whoop.
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION: ## Things to note:
+#$ DESCRIPTION: - **YOU HAVE TO USE RPM FILTERING WITH THIS TUNE!** Failure to do so might result in fire 🔥
+#$ DESCRIPTION: - Also this should be applied to a clean flash after you've setup your rates, swtiches, vtx tables etc.
+#$ DESCRIPTION: - To test arm the quad with props on, it should **sound clean with no grinding**. If it passes that then hover test and check motor temps.
+#$ DESCRIPTION: - **If anything is off, don't fly it!!**
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION:
+#$ DESCRIPTION: ## Second note... Radio links:
+#$ DESCRIPTION: 1. Make sure your radio firmware is up to date using either EdgeTX or OpenTX
+#$ DESCRIPTION: 1. Make sure your **ADC Filter is OFF** in the hardware page
+#$ DESCRIPTION: 1. Go to the radio (RC_LINK) presets and apply the correct setup for your system and link speed
+
+#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/490
+
+#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
+#$ INCLUDE: presets/4.4/tune/defaults.txt
+
+# --DSHOT --
+set motor_pwm_protocol = Dshot300
+
+# -- Gyro lowpass filters --
+set gyro_lpf1_dyn_min_hz = 0
+set gyro_lpf1_dyn_max_hz = 0
+set gyro_lpf1_static_hz = 0
+
+# -- Gyro Dynamic Notches --
+set dyn_notch_count = 1
+set dyn_notch_q = 600
+set dyn_notch_max_hz = 750
+
+# -- Dterm filtering --
+set dterm_lpf1_dyn_expo = 7
+
+# -- RPM filtering --
+set motor_poles = 12
+set dshot_bidir = ON
+set rpm_filter_fade_range_hz = 150
+set rpm_filter_harmonics = 1
+
+# -- iTerm --
+set iterm_relax_cutoff = 45
+
+# -- Misc --
+set thrust_linear = 20
+set vbat_max_cell_voltage = 445
+
+#$ OPTION BEGIN (CHECKED): Dynamic idle for sub 20g whoop ( recommended )
+ set dyn_idle_min_rpm = 150
+ set dyn_idle_p_gain = 35
+ set dyn_idle_start_increase = 60
+#$ OPTION END
+
+#$ OPTION BEGIN (CHECKED): Vbat sag compensation ( recommended )
+ set vbat_sag_compensation = 100
+#$ OPTION END
+
+#$ OPTION BEGIN (UNCHECKED): Over clock f411 with ICM42688p only
+ set cpu_overclock = 120MHZ
+#$ OPTION END
+
+
+# -- PID values --
+set simplified_pids_mode = RP
+set simplified_i_gain = 110
+set simplified_d_gain = 85
+set simplified_pi_gain = 95
+set simplified_dmax_gain = 80
+set simplified_feedforward_gain = 115
+set simplified_pitch_d_gain = 105
+set simplified_dterm_filter_multiplier = 90
+simplified_tuning apply
+
+
+
+#$ OPTION_GROUP BEGIN: Some popular RC Links
+
+ #$ OPTION BEGIN (UNCHECKED): Tracer/ELRS 250Hz
+ # Tracer/ELRS 250Hz
+
+ feature RX_SERIAL
+ set serialrx_provider = CRSF
+
+ #$ INCLUDE: presets/4.3/rc_link/generic/250hz_race.txt
+
+ #$ OPTION END
+
+ #$ OPTION BEGIN (UNCHECKED): ELRS 500Hz
+ # ERLS 500Hz
+
+ feature RX_SERIAL
+ set serialrx_provider = CRSF
+
+ #$ INCLUDE: presets/4.3/rc_link/generic/500hz_race.txt
+
+ #$ OPTION END
+
+ #$ OPTION BEGIN (UNCHECKED): ELRS 500Hz spicy ( recommended )
+ # ERLS 500Hz
+
+ feature RX_SERIAL
+ set serialrx_provider = CRSF
+
+ #$ INCLUDE: presets/4.3/rc_link/generic/500hz_race.txt
+
+ set feedforward_jitter_factor = 1
+ set feedforward_max_rate_limit = 100
+
+ #$ OPTION END
+
+ #$ OPTION BEGIN (UNCHECKED): ELRS 1000Hz
+ # ELRS 1000Hz
+
+ feature RX_SERIAL
+ set serialrx_provider = CRSF
+
+ #$ INCLUDE: presets/4.3/rc_link/generic/1000hz_race.txt
+
+ #$ OPTION END
+
+ #$ OPTION BEGIN (UNCHECKED): Ghost 250Hz
+ # Ghost 250Hz
+
+ feature RX_SERIAL
+ set serialrx_provider = GHST
+
+ #$ INCLUDE:presets/4.3/rc_link/generic/250hz_race.txt
+
+ #$ OPTION END
+
+ #$ OPTION BEGIN (UNCHECKED): Ghost 500Hz
+ # Ghost 500Hz
+
+ feature RX_SERIAL
+ set serialrx_provider = GHST
+
+ #$ INCLUDE: presets/4.3/rc_link/generic/500hz_race.txt
+
+ #$ OPTION END
+
+#$ OPTION_GROUP END
+
+#$ OPTION_GROUP BEGIN: Optional rates
+ #$ OPTION BEGIN (UNCHECKED): sugarK's rates
+ #$ INCLUDE: presets/4.3/rates/SugarK_whoop.txt
+
+ #$ OPTION END
+
+ #$ OPTION BEGIN (UNCHECKED): throttle expo for 30% hover throttle
+ set thr_mid = 30
+ set thr_expo = 65
+ #$ OPTION END
+
+ #$ OPTION BEGIN (UNCHECKED): throttle expo for 45% hover throttle
+ set thr_mid = 45
+ set thr_expo = 65
+ #$ OPTION END
+
+
+#$ OPTION_GROUP END
+
From 3e6e194e43f1540cea06323fbe669a21182e757b Mon Sep 17 00:00:00 2001
From: SugaarK <83344205+sugaarK@users.noreply.github.com>
Date: Thu, 17 Oct 2024 18:09:22 +1100
Subject: [PATCH 2/4] Update karate_whoop_late_2024.txt
---
presets/4.5/tune/karate/karate_whoop_late_2024.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/presets/4.5/tune/karate/karate_whoop_late_2024.txt b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
index f4053d88d..af4c6c897 100644
--- a/presets/4.5/tune/karate/karate_whoop_late_2024.txt
+++ b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
@@ -1,5 +1,5 @@
#$ TITLE: Karate whoop late 2024
-#$ FIRMWARE_VERSION: 4.4
+#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: TUNE
#$ STATUS: EXPERIMENTAL
#$ KEYWORDS: karate, 1S, race, brushless, whoop, 65mm, sugarK, KarateBrot
From a3bd4a9d3572dad8bbde9909ca8ac3e0453e8131 Mon Sep 17 00:00:00 2001
From: SugaarK <83344205+sugaarK@users.noreply.github.com>
Date: Thu, 17 Oct 2024 18:32:18 +1100
Subject: [PATCH 3/4] Update karate_whoop_late_2024.txt
---
presets/4.5/tune/karate/karate_whoop_late_2024.txt | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/presets/4.5/tune/karate/karate_whoop_late_2024.txt b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
index af4c6c897..ac94ba6df 100644
--- a/presets/4.5/tune/karate/karate_whoop_late_2024.txt
+++ b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
@@ -1,7 +1,7 @@
#$ TITLE: Karate whoop late 2024
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: TUNE
-#$ STATUS: EXPERIMENTAL
+#$ STATUS: EXPERIMENTAL
#$ KEYWORDS: karate, 1S, race, brushless, whoop, 65mm, sugarK, KarateBrot
#$ AUTHOR: sugarK
@@ -37,6 +37,7 @@
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
#$ INCLUDE: presets/4.4/tune/defaults.txt
+#$ INCLUDE: presets/4.5/filters/defaults.txt
# --DSHOT --
set motor_pwm_protocol = Dshot300
@@ -57,7 +58,7 @@ set dterm_lpf1_dyn_expo = 7
# -- RPM filtering --
set motor_poles = 12
set dshot_bidir = ON
-set rpm_filter_fade_range_hz = 150
+set rpm_filter_fade_range_hz = 120
set rpm_filter_harmonics = 1
# -- iTerm --
@@ -68,7 +69,7 @@ set thrust_linear = 20
set vbat_max_cell_voltage = 445
#$ OPTION BEGIN (CHECKED): Dynamic idle for sub 20g whoop ( recommended )
- set dyn_idle_min_rpm = 150
+ set dyn_idle_min_rpm = 120
set dyn_idle_p_gain = 35
set dyn_idle_start_increase = 60
#$ OPTION END
@@ -78,7 +79,7 @@ set vbat_max_cell_voltage = 445
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): Over clock f411 with ICM42688p only
- set cpu_overclock = 120MHZ
+ set cpu_overclock = 120MHZ
#$ OPTION END
From e838d047c359e29281f08082a803254876d7eae5 Mon Sep 17 00:00:00 2001
From: SugaarK <83344205+sugaarK@users.noreply.github.com>
Date: Thu, 17 Oct 2024 22:50:52 +1100
Subject: [PATCH 4/4] Update karate_whoop_late_2024.txt
---
presets/4.5/tune/karate/karate_whoop_late_2024.txt | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/presets/4.5/tune/karate/karate_whoop_late_2024.txt b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
index ac94ba6df..c823be1e3 100644
--- a/presets/4.5/tune/karate/karate_whoop_late_2024.txt
+++ b/presets/4.5/tune/karate/karate_whoop_late_2024.txt
@@ -82,7 +82,6 @@ set vbat_max_cell_voltage = 445
set cpu_overclock = 120MHZ
#$ OPTION END
-
# -- PID values --
set simplified_pids_mode = RP
set simplified_i_gain = 110
@@ -94,8 +93,6 @@ set simplified_pitch_d_gain = 105
set simplified_dterm_filter_multiplier = 90
simplified_tuning apply
-
-
#$ OPTION_GROUP BEGIN: Some popular RC Links
#$ OPTION BEGIN (UNCHECKED): Tracer/ELRS 250Hz
@@ -179,6 +176,4 @@ simplified_tuning apply
set thr_expo = 65
#$ OPTION END
-
-#$ OPTION_GROUP END
-
+#$ OPTION_GROUP END
\ No newline at end of file