From 32245b003638a03279c92c6d55dac5f4ea15591e Mon Sep 17 00:00:00 2001 From: Ivan Efimov Date: Fri, 8 Dec 2023 17:20:45 -0600 Subject: [PATCH 1/3] copy filters from 4.3 to 4.5 --- presets/4.5/filters/basic_no_rpm_clean.txt | 47 ++++++++++++++++ presets/4.5/filters/basic_no_rpm_noisy.txt | 46 ++++++++++++++++ presets/4.5/filters/basic_no_rpm_normal.txt | 46 ++++++++++++++++ .../4.5/filters/basic_no_rpm_very_clean.txt | 48 +++++++++++++++++ .../4.5/filters/basic_no_rpm_very_noisy.txt | 46 ++++++++++++++++ presets/4.5/filters/basic_rpm_clean.txt | 51 ++++++++++++++++++ presets/4.5/filters/basic_rpm_noisy.txt | 52 ++++++++++++++++++ presets/4.5/filters/basic_rpm_normal.txt | 45 ++++++++++++++++ presets/4.5/filters/basic_rpm_very_clean.txt | 52 ++++++++++++++++++ presets/4.5/filters/basic_rpm_very_noisy.txt | 53 +++++++++++++++++++ presets/4.5/filters/ctzsnooze_race.txt | 37 +++++++++++++ presets/4.5/filters/karate_array.txt | 46 ++++++++++++++++ 12 files changed, 569 insertions(+) create mode 100644 presets/4.5/filters/basic_no_rpm_clean.txt create mode 100644 presets/4.5/filters/basic_no_rpm_noisy.txt create mode 100644 presets/4.5/filters/basic_no_rpm_normal.txt create mode 100644 presets/4.5/filters/basic_no_rpm_very_clean.txt create mode 100644 presets/4.5/filters/basic_no_rpm_very_noisy.txt create mode 100644 presets/4.5/filters/basic_rpm_clean.txt create mode 100644 presets/4.5/filters/basic_rpm_noisy.txt create mode 100644 presets/4.5/filters/basic_rpm_normal.txt create mode 100644 presets/4.5/filters/basic_rpm_very_clean.txt create mode 100644 presets/4.5/filters/basic_rpm_very_noisy.txt create mode 100644 presets/4.5/filters/ctzsnooze_race.txt create mode 100644 presets/4.5/filters/karate_array.txt diff --git a/presets/4.5/filters/basic_no_rpm_clean.txt b/presets/4.5/filters/basic_no_rpm_clean.txt new file mode 100644 index 000000000..5fdeb58ad --- /dev/null +++ b/presets/4.5/filters/basic_no_rpm_clean.txt @@ -0,0 +1,47 @@ +#$ TITLE: 4.3 Filter settings for CLEAN build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: filter, filters, filtering, clean, no rpm, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: WARNING: Too much filtering may cause wobbling. +#$ DESCRIPTION: Intended for solid frames, motors with good bearings and clean props. +#$ DESCRIPTION: If motors get hot, try lowering the gyro or D filter sliders. If motors remain hot despite strong filtering, it may not be a filtering problem. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# disable dshot rpm telemetry +set dshot_bidir = OFF + +# -- Gyro filters -- +set gyro_lpf1_dyn_min_hz = 250 +set gyro_lpf1_dyn_max_hz = 500 +set gyro_lpf1_static_hz = 500 +set gyro_lpf2_static_hz = 500 + +# -- Gyro Sliders -- +set simplified_gyro_filter_multiplier = 100 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 4 +set dyn_notch_q = 350 +set dyn_notch_min_hz = 100 + +# -- RPM filtering OFF -- + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 67 +set dterm_lpf1_dyn_max_hz = 135 +set dterm_lpf1_static_hz = 135 + +set dterm_lpf2_static_hz = 135 + +# -- Dterm sliders -- +set simplified_dterm_filter_multiplier = 90 + +# -- Yaw lowpass (default) -- +# -- Accelerometer lowpass (default) -- diff --git a/presets/4.5/filters/basic_no_rpm_noisy.txt b/presets/4.5/filters/basic_no_rpm_noisy.txt new file mode 100644 index 000000000..22db1b76e --- /dev/null +++ b/presets/4.5/filters/basic_no_rpm_noisy.txt @@ -0,0 +1,46 @@ +#$ TITLE: 4.3 Filter settings for NOISY build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: filter, filters, filtering, noisy, no rpm, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: Intended for slightly beaten up, or larger (7" and above), builds. +#$ DESCRIPTION: If motors get hot, try a filter set for very noisy motors, or try lowering the D filter slider. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# disable dshot rpm telemetry +set dshot_bidir = OFF + +# -- Gyro filters -- +set gyro_lpf1_dyn_min_hz = 137 +set gyro_lpf1_dyn_max_hz = 275 +set gyro_lpf1_static_hz = 275 +set gyro_lpf2_static_hz = 275 + +# -- Gyro Sliders -- +set simplified_gyro_filter_multiplier = 55 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 5 +set dyn_notch_q = 325 +set dyn_notch_min_hz = 90 + +# -- RPM filtering OFF -- + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 52 +set dterm_lpf1_dyn_max_hz = 105 +set dterm_lpf1_static_hz = 105 + +set dterm_lpf2_static_hz = 105 + +# -- Dterm sliders -- +set simplified_dterm_filter_multiplier = 70 + +# -- Yaw lowpass -- +# -- Accelerometer lowpass (default) -- diff --git a/presets/4.5/filters/basic_no_rpm_normal.txt b/presets/4.5/filters/basic_no_rpm_normal.txt new file mode 100644 index 000000000..410de9563 --- /dev/null +++ b/presets/4.5/filters/basic_no_rpm_normal.txt @@ -0,0 +1,46 @@ +#$ TITLE: 4.3 Filter settings for NORMAL build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: filter, filters, filtering, normal, no rpm, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: Intended for a well maintained build in good condition. +#$ DESCRIPTION: If motors get hot, try a filter set for noisy or very noisy motors, or try lowering the D filter slider. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# disable dshot rpm telemetry +set dshot_bidir = OFF + +# -- Gyro filters -- +set gyro_lpf1_dyn_min_hz = 150 +set gyro_lpf1_dyn_max_hz = 300 +set gyro_lpf1_static_hz = 300 +set gyro_lpf2_static_hz = 300 + +# -- Gyro Sliders -- +set simplified_gyro_filter_multiplier = 60 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 5 +set dyn_notch_q = 350 +set dyn_notch_min_hz = 100 + +# -- RPM filtering OFF -- + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 60 +set dterm_lpf1_dyn_max_hz = 120 +set dterm_lpf1_static_hz = 120 + +set dterm_lpf2_static_hz = 120 + +# -- Dterm sliders -- +set simplified_dterm_filter_multiplier = 80 + +# -- Yaw lowpass (default) -- +# -- Accelerometer lowpass (default) -- diff --git a/presets/4.5/filters/basic_no_rpm_very_clean.txt b/presets/4.5/filters/basic_no_rpm_very_clean.txt new file mode 100644 index 000000000..bc4aa7be6 --- /dev/null +++ b/presets/4.5/filters/basic_no_rpm_very_clean.txt @@ -0,0 +1,48 @@ +#$ TITLE: 4.3 Filter settings for VERY CLEAN build WITHOUT RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: no rpm, filter, filters, filtering, very clean, very, clean, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: WARNING: Likely to cause motor overheating on many builds! +#$ DESCRIPTION: Intended only for rock hard frames, motors with good bearings and true shafts, and perfectly balanced props. +#$ DESCRIPTION: If motors get hot, try a filter set for clean or normal motors, or try enabling gyro filter slider. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# disable dshot rpm telemetry +set dshot_bidir = OFF + +# -- Gyro filters -- +# None +set gyro_lpf1_dyn_min_hz = 400 +set gyro_lpf1_dyn_max_hz = 800 +set gyro_lpf1_static_hz = 800 +set gyro_lpf2_static_hz = 800 + +# -- Gyro Sliders -- +set simplified_gyro_filter_multiplier = 160 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 4 +set dyn_notch_q = 450 +set dyn_notch_min_hz = 100 + +# -- RPM filtering OFF -- + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 75 +set dterm_lpf1_dyn_max_hz = 150 +set dterm_lpf1_static_hz = 150 + +set dterm_lpf2_static_hz = 150 + +# -- Dterm sliders -- +set simplified_dterm_filter_multiplier = 100 + +# -- Yaw lowpass (default) -- +# -- Accelerometer lowpass (default) -- diff --git a/presets/4.5/filters/basic_no_rpm_very_noisy.txt b/presets/4.5/filters/basic_no_rpm_very_noisy.txt new file mode 100644 index 000000000..44af59107 --- /dev/null +++ b/presets/4.5/filters/basic_no_rpm_very_noisy.txt @@ -0,0 +1,46 @@ +#$ TITLE: 4.3 Filter settings for VERY NOISY build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: filter, filters, very noisy, very, noisy, no rpm, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: Intended for slightly beaten up, or larger (10" and above), builds. +#$ DESCRIPTION: If motors get hot, they may simply be being asked to do too much. +#$ DESCRIPTION: May cause 5" or smaller quads to wobble due to lag. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# disable dshot rpm telemetry +set dshot_bidir = OFF + +# -- Gyro filters -- +set gyro_lpf1_dyn_min_hz = 125 +set gyro_lpf1_dyn_max_hz = 250 +set gyro_lpf1_static_hz = 250 +set gyro_lpf2_static_hz = 250 + +# -- Gyro Sliders -- +set simplified_gyro_filter_multiplier = 50 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 5 +set dyn_notch_q = 300 +set dyn_notch_min_hz = 80 + +# -- RPM filtering OFF -- + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 45 +set dterm_lpf1_dyn_max_hz = 90 +set dterm_lpf1_static_hz = 90 + +set dterm_lpf2_static_hz = 90 + +# -- Dterm sliders -- +set simplified_dterm_filter_multiplier = 60 + +# -- Yaw lowpass -- +# -- Accelerometer lowpass (default) -- diff --git a/presets/4.5/filters/basic_rpm_clean.txt b/presets/4.5/filters/basic_rpm_clean.txt new file mode 100644 index 000000000..9d704ae52 --- /dev/null +++ b/presets/4.5/filters/basic_rpm_clean.txt @@ -0,0 +1,51 @@ +#$ TITLE: 4.3 Filter settings for CLEAN build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: rpm, DShot telemetry, filter, filters, clean, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: WARNING: Required RPM filtering. Ensure that DShot Telemetry is working properly! +#$ DESCRIPTION: WARNING: May cause motor overheating! +#$ DESCRIPTION: Intended for solid frames, motors with good bearings and clean props. +#$ DESCRIPTION: If motors get hot, try a filter set for normal or noisy motors. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# enable dshot rpm telemetry +set dshot_bidir = ON + +# -- Gyro filters -- +# Single static gyro lowpass at 875Hz +set gyro_lpf1_dyn_min_hz = 0 +set gyro_lpf1_dyn_max_hz = 875 +set gyro_lpf1_static_hz = 0 +set gyro_lpf2_static_hz = 875 + +# -- Gyro Sliders (on by default) -- +# only lpf2 is active +set simplified_gyro_filter_multiplier = 175 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 1 +set dyn_notch_q = 300 + +# -- RPM filtering -- +set dshot_bidir = ON +set rpm_filter_q = 650 + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 78 +set dterm_lpf1_dyn_max_hz = 157 +set dterm_lpf1_static_hz = 157 + +set dterm_lpf2_static_hz = 157 + +# -- Dterm sliders 105 -- +set simplified_dterm_filter_multiplier = 105 + +# -- Yaw lowpass (default) -- +# -- Accelerometer lowpass (default) -- \ No newline at end of file diff --git a/presets/4.5/filters/basic_rpm_noisy.txt b/presets/4.5/filters/basic_rpm_noisy.txt new file mode 100644 index 000000000..66c07d340 --- /dev/null +++ b/presets/4.5/filters/basic_rpm_noisy.txt @@ -0,0 +1,52 @@ +#$ TITLE: 4.3 Filter settings for NOISY build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: rpm, DShot telemetry, filter, filters, noisy, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: WARNING: Ensure that DShot Telemetry is working properly! +#$ DESCRIPTION: Intended for slightly beaten up, or larger (7" and above), builds. +#$ DESCRIPTION: If motors get hot, try the filter Preset for very noisy motors. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# enable dshot rpm telemetry +set dshot_bidir = ON + +# -- Gyro filters -- +# Single static gyro lowpass at 250hz +set gyro_lpf1_dyn_min_hz = 0 +set gyro_lpf1_dyn_max_hz = 250 +set gyro_lpf1_static_hz = 0 +set gyro_lpf2_static_hz = 250 + +# -- Gyro Sliders (on by default) -- +# only lpf2 is active +set simplified_gyro_filter_multiplier = 50 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 2 +set dyn_notch_q = 400 + +# -- RPM filtering -- +set dshot_bidir = ON +set rpm_filter_q = 450 + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 63 +set dterm_lpf1_dyn_max_hz = 127 +set dterm_lpf1_static_hz = 127 + +set dterm_lpf2_static_hz = 127 + +# -- Dterm sliders (both filters on by default) -- +set simplified_dterm_filter_multiplier = 85 + +# -- Yaw lowpass -- +set yaw_lowpass_hz = 75 + +# -- Accelerometer lowpass (default) -- diff --git a/presets/4.5/filters/basic_rpm_normal.txt b/presets/4.5/filters/basic_rpm_normal.txt new file mode 100644 index 000000000..2ff97080e --- /dev/null +++ b/presets/4.5/filters/basic_rpm_normal.txt @@ -0,0 +1,45 @@ +#$ TITLE: 4.3 Filter settings for NORMAL build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: rpm, DShot telemetry, filter, filters, normal, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: Intended for a well maintained build in good condition with RPM filtering. +#$ DESCRIPTION: WARNING: Ensure that DShot Telemetry is working properly! +#$ DESCRIPTION: If motors get hot, try a filter set for noisy or very noisy motors. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# enable dshot rpm telemetry +set dshot_bidir = ON + +# -- Gyro filters -- +# Single static gyro lowpass at 500hz +set gyro_lpf1_dyn_min_hz = 0 +set gyro_lpf1_dyn_max_hz = 500 +set gyro_lpf1_static_hz = 0 +set gyro_lpf2_static_hz = 500 + +# -- Gyro Sliders (on by default) -- +# only lpf2 is active +set simplified_gyro_filter_multiplier = 100 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 2 +set dyn_notch_q = 450 +set dyn_notch_min_hz = 100 + +# -- RPM filtering (default of 3 notches each at 500hz) -- +# forcing rpm_filter_q to 500 in case it was set to 300 when RPM filtering was off +set dshot_bidir = ON +set rpm_filter_q = 500 + +# -- Dterm filtering (default) -- +# -- Dterm sliders (default) -- + +# -- Yaw lowpass (default) -- +# -- Accelerometer lowpass (default) -- \ No newline at end of file diff --git a/presets/4.5/filters/basic_rpm_very_clean.txt b/presets/4.5/filters/basic_rpm_very_clean.txt new file mode 100644 index 000000000..4e10676cd --- /dev/null +++ b/presets/4.5/filters/basic_rpm_very_clean.txt @@ -0,0 +1,52 @@ +#$ TITLE: 4.3 Filter settings for VERY CLEAN build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: rpm, filter, filters, filtering, very clean, very, clean, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: WARNING: Ensure that DShot Telemetry is working properly! +#$ DESCRIPTION: WARNING: Likely to cause motor overheating on many builds! +#$ DESCRIPTION: Intended only for rock hard frames, motors with good bearings and true shafts, and perfectly balanced props. +#$ DESCRIPTION: If motors get hot, try a filter set for clean or normal motors. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# enable dshot rpm telemetry +set dshot_bidir = ON + +# -- Gyro filters -- +# None +set gyro_lpf1_dyn_min_hz = 0 +set gyro_lpf1_dyn_max_hz = 1000 +set gyro_lpf1_static_hz = 0 +set gyro_lpf2_static_hz = 1000 + +# -- Gyro Sliders (on by default) -- +# only lpf2 is active +set simplified_gyro_filter_multiplier = 200 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 1 +set dyn_notch_q = 500 + +# -- RPM filtering -- +set dshot_bidir = ON +set rpm_filter_q = 750 + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 82 +set dterm_lpf1_dyn_max_hz = 165 +set dterm_lpf1_static_hz = 165 + +set dterm_lpf2_static_hz = 165 + +# -- Dterm sliders -- +set simplified_dterm_filter_multiplier = 110 + + +# -- Yaw lowpass (default) -- +# -- Accelerometer lowpass (default) -- \ No newline at end of file diff --git a/presets/4.5/filters/basic_rpm_very_noisy.txt b/presets/4.5/filters/basic_rpm_very_noisy.txt new file mode 100644 index 000000000..d8527e8fb --- /dev/null +++ b/presets/4.5/filters/basic_rpm_very_noisy.txt @@ -0,0 +1,53 @@ +#$ TITLE: 4.3 Filter settings for VERY NOISY build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: rpm, filter, filters, filtering, very, noisy, very noisy, hot, basic, betaflight +#$ AUTHOR: Betaflight +#$ DESCRIPTION: WARNING: Requires RPM filtering - ensure that DShot Telemetry is working properly! +#$ DESCRIPTION: WARNING: Too much filtering may cause wobbling. +#$ DESCRIPTION: Intended for worn, beaten up, or larger (10" and above), builds. +#$ DESCRIPTION: If motors remain hot despite strong filtering, it may not be a filtering problem. +#$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# enable dshot rpm telemetry +set dshot_bidir = ON + +# -- Gyro filters -- +# Single static gyro lowpass at 125hz +set gyro_lpf1_dyn_min_hz = 0 +set gyro_lpf1_dyn_max_hz = 250 +set gyro_lpf1_static_hz = 0 +set gyro_lpf2_static_hz = 125 + +# -- Gyro Sliders (on by default) -- +# only lpf2 is active +set simplified_gyro_filter_multiplier = 25 + +# -- Gyro Static Notches (default)-- + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 2 +set dyn_notch_q = 350 + +# -- RPM filtering -- +set dshot_bidir = ON +set rpm_filter_q = 350 + +# -- Dterm filtering -- +set dterm_lpf1_dyn_min_hz = 60 +set dterm_lpf1_dyn_max_hz = 120 +set dterm_lpf1_static_hz = 120 + +set dterm_lpf2_static_hz = 120 + +# -- Dterm sliders (on by default) -- +set simplified_dterm_filter_multiplier = 80 + +# -- Yaw lowpass (default) -- +set yaw_lowpass_hz = 50 + +# -- Accelerometer lowpass (default) -- diff --git a/presets/4.5/filters/ctzsnooze_race.txt b/presets/4.5/filters/ctzsnooze_race.txt new file mode 100644 index 000000000..74fa6b096 --- /dev/null +++ b/presets/4.5/filters/ctzsnooze_race.txt @@ -0,0 +1,37 @@ +#$ TITLE: ctzsnooze's race filter settings +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: race, filter, filters, ctzsnooze, RPM +#$ AUTHOR: Betaflight +#$ DESCRIPTION: ctzsnooze's standard race filter setup. +#$ DESCRIPTION: tolerates fairly worn setups +#$ DESCRIPTION: Requires RPM filtering and DShot telemetry! + +#$ INCLUDE: presets/4.3/filters/defaults.txt + +# -- Gyro filters -- +# Single static gyro lowpass at 500hz +set gyro_lpf1_dyn_min_hz = 0 +set gyro_lpf1_dyn_max_hz = 500 +set gyro_lpf1_static_hz = 0 +set gyro_lpf2_static_hz = 500 + +# -- Gyro Sliders (on by default at default but only lowpass2 is active) -- +# only lpf2 is active + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 2 +set dyn_notch_q = 450 +set dyn_notch_min_hz = 100 + +# -- RPM filtering -- +set dshot_bidir = ON +set rpm_filter_q = 450 +set rpm_filter_min_hz = 80 +set rpm_filter_fade_range_hz = 60 + +# -- Dterm filtering (default) -- + +# -- Yaw lowpass (default) -- diff --git a/presets/4.5/filters/karate_array.txt b/presets/4.5/filters/karate_array.txt new file mode 100644 index 000000000..52539109c --- /dev/null +++ b/presets/4.5/filters/karate_array.txt @@ -0,0 +1,46 @@ +#$ TITLE: the Karate array +#$ FIRMWARE_VERSION: 4.3 +#$ FIRMWARE_VERSION: 4.4 +#$ FIRMWARE_VERSION: 4.5 +#$ CATEGORY: FILTERS +#$ STATUS: OFFICIAL +#$ KEYWORDS: filter, filters, karate, race, freesytle, suagrK, CTZsoonze, KarateBrot, 5" +#$ AUTHOR: sugarK +#$ DESCRIPTION: the Karate fitler array as developed by @CTZsoonze and @sugarK for 4.3 using @karateBrot's rpm cross fade code. +#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITH OUT RPM FILTERING! +#$ DESCRIPTION: This filtering array will work with most 5" race and freesytle builds that have a solid airframe and motors in good condition. +#$ DESCRIPTION: Follow the usual process of hover testing and safely checking out your tune before using. USE AT YOUR OWN RISK. +#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/51 +#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt +#$ INCLUDE: presets/4.3/filters/defaults.txt + + +# -- Gyro lowpass filters -- +set gyro_lpf1_static_hz = 0 +set gyro_lpf1_dyn_min_hz = 0 +set simplified_gyro_filter = OFF + + +# -- Gyro Dynamic Notches -- +set dyn_notch_count = 2 +set dyn_notch_q = 500 +set dyn_notch_min_hz = 200 + +# -- RPM filtering -- +set dshot_bidir = ON +set rpm_filter_harmonics = 2 +set rpm_filter_fade_range_hz = 100 +set rpm_filter_min_hz = 150 + +# -- Dterm filtering -- +set dterm_lpf1_dyn_expo = 7 + + + +# OPTION BEGIN (UNCHECKED): Dshot300 + set motor_pwm_protocol = Dshot300 +# OPTION END + +# OPTION BEGIN (UNCHECKED): Dshot600 + set motor_pwm_protocol = DSHOT600 +# OPTION END From 072c82ae0998aefb7d864736f55c13b487b28bdd Mon Sep 17 00:00:00 2001 From: Ivan Efimov Date: Fri, 8 Dec 2023 17:25:05 -0600 Subject: [PATCH 2/3] Tag 4.5 filters with 4.5 --- presets/4.5/filters/basic_no_rpm_clean.txt | 7 +++---- presets/4.5/filters/basic_no_rpm_noisy.txt | 7 +++---- presets/4.5/filters/basic_no_rpm_normal.txt | 7 +++---- presets/4.5/filters/basic_no_rpm_very_clean.txt | 7 +++---- presets/4.5/filters/basic_no_rpm_very_noisy.txt | 7 +++---- presets/4.5/filters/basic_rpm_clean.txt | 7 +++---- presets/4.5/filters/basic_rpm_noisy.txt | 7 +++---- presets/4.5/filters/basic_rpm_normal.txt | 7 +++---- presets/4.5/filters/basic_rpm_very_clean.txt | 7 +++---- presets/4.5/filters/basic_rpm_very_noisy.txt | 7 +++---- presets/4.5/filters/ctzsnooze_race.txt | 5 ++--- presets/4.5/filters/karate_array.txt | 4 +--- 12 files changed, 33 insertions(+), 46 deletions(-) diff --git a/presets/4.5/filters/basic_no_rpm_clean.txt b/presets/4.5/filters/basic_no_rpm_clean.txt index 5fdeb58ad..ef4e57039 100644 --- a/presets/4.5/filters/basic_no_rpm_clean.txt +++ b/presets/4.5/filters/basic_no_rpm_clean.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for CLEAN build WITH NO RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for CLEAN build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: filter, filters, filtering, clean, no rpm, basic, betaflight @@ -10,7 +9,7 @@ #$ DESCRIPTION: If motors get hot, try lowering the gyro or D filter sliders. If motors remain hot despite strong filtering, it may not be a filtering problem. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # disable dshot rpm telemetry set dshot_bidir = OFF diff --git a/presets/4.5/filters/basic_no_rpm_noisy.txt b/presets/4.5/filters/basic_no_rpm_noisy.txt index 22db1b76e..aff6587e5 100644 --- a/presets/4.5/filters/basic_no_rpm_noisy.txt +++ b/presets/4.5/filters/basic_no_rpm_noisy.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for NOISY build WITH NO RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for NOISY build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: filter, filters, filtering, noisy, no rpm, basic, betaflight @@ -9,7 +8,7 @@ #$ DESCRIPTION: If motors get hot, try a filter set for very noisy motors, or try lowering the D filter slider. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # disable dshot rpm telemetry set dshot_bidir = OFF diff --git a/presets/4.5/filters/basic_no_rpm_normal.txt b/presets/4.5/filters/basic_no_rpm_normal.txt index 410de9563..b7f9d5eab 100644 --- a/presets/4.5/filters/basic_no_rpm_normal.txt +++ b/presets/4.5/filters/basic_no_rpm_normal.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for NORMAL build WITH NO RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for NORMAL build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: filter, filters, filtering, normal, no rpm, basic, betaflight @@ -9,7 +8,7 @@ #$ DESCRIPTION: If motors get hot, try a filter set for noisy or very noisy motors, or try lowering the D filter slider. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # disable dshot rpm telemetry set dshot_bidir = OFF diff --git a/presets/4.5/filters/basic_no_rpm_very_clean.txt b/presets/4.5/filters/basic_no_rpm_very_clean.txt index bc4aa7be6..d04fb6c9f 100644 --- a/presets/4.5/filters/basic_no_rpm_very_clean.txt +++ b/presets/4.5/filters/basic_no_rpm_very_clean.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for VERY CLEAN build WITHOUT RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for VERY CLEAN build WITHOUT RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: no rpm, filter, filters, filtering, very clean, very, clean, basic, betaflight @@ -10,7 +9,7 @@ #$ DESCRIPTION: If motors get hot, try a filter set for clean or normal motors, or try enabling gyro filter slider. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # disable dshot rpm telemetry set dshot_bidir = OFF diff --git a/presets/4.5/filters/basic_no_rpm_very_noisy.txt b/presets/4.5/filters/basic_no_rpm_very_noisy.txt index 44af59107..9ba1f7a70 100644 --- a/presets/4.5/filters/basic_no_rpm_very_noisy.txt +++ b/presets/4.5/filters/basic_no_rpm_very_noisy.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for VERY NOISY build WITH NO RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for VERY NOISY build WITH NO RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: filter, filters, very noisy, very, noisy, no rpm, basic, betaflight @@ -9,7 +8,7 @@ #$ DESCRIPTION: If motors get hot, they may simply be being asked to do too much. #$ DESCRIPTION: May cause 5" or smaller quads to wobble due to lag. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # disable dshot rpm telemetry set dshot_bidir = OFF diff --git a/presets/4.5/filters/basic_rpm_clean.txt b/presets/4.5/filters/basic_rpm_clean.txt index 9d704ae52..d3c74ec8f 100644 --- a/presets/4.5/filters/basic_rpm_clean.txt +++ b/presets/4.5/filters/basic_rpm_clean.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for CLEAN build with RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for CLEAN build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: rpm, DShot telemetry, filter, filters, clean, basic, betaflight @@ -11,7 +10,7 @@ #$ DESCRIPTION: If motors get hot, try a filter set for normal or noisy motors. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # enable dshot rpm telemetry set dshot_bidir = ON diff --git a/presets/4.5/filters/basic_rpm_noisy.txt b/presets/4.5/filters/basic_rpm_noisy.txt index 66c07d340..480e661b3 100644 --- a/presets/4.5/filters/basic_rpm_noisy.txt +++ b/presets/4.5/filters/basic_rpm_noisy.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for NOISY build with RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for NOISY build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: rpm, DShot telemetry, filter, filters, noisy, basic, betaflight @@ -10,7 +9,7 @@ #$ DESCRIPTION: If motors get hot, try the filter Preset for very noisy motors. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # enable dshot rpm telemetry set dshot_bidir = ON diff --git a/presets/4.5/filters/basic_rpm_normal.txt b/presets/4.5/filters/basic_rpm_normal.txt index 2ff97080e..556fdd314 100644 --- a/presets/4.5/filters/basic_rpm_normal.txt +++ b/presets/4.5/filters/basic_rpm_normal.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for NORMAL build with RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for NORMAL build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: rpm, DShot telemetry, filter, filters, normal, basic, betaflight @@ -10,7 +9,7 @@ #$ DESCRIPTION: If motors get hot, try a filter set for noisy or very noisy motors. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # enable dshot rpm telemetry set dshot_bidir = ON diff --git a/presets/4.5/filters/basic_rpm_very_clean.txt b/presets/4.5/filters/basic_rpm_very_clean.txt index 4e10676cd..a00116d61 100644 --- a/presets/4.5/filters/basic_rpm_very_clean.txt +++ b/presets/4.5/filters/basic_rpm_very_clean.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for VERY CLEAN build with RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for VERY CLEAN build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: rpm, filter, filters, filtering, very clean, very, clean, basic, betaflight @@ -11,7 +10,7 @@ #$ DESCRIPTION: If motors get hot, try a filter set for clean or normal motors. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # enable dshot rpm telemetry set dshot_bidir = ON diff --git a/presets/4.5/filters/basic_rpm_very_noisy.txt b/presets/4.5/filters/basic_rpm_very_noisy.txt index d8527e8fb..da9fa753e 100644 --- a/presets/4.5/filters/basic_rpm_very_noisy.txt +++ b/presets/4.5/filters/basic_rpm_very_noisy.txt @@ -1,6 +1,5 @@ -#$ TITLE: 4.3 Filter settings for VERY NOISY build with RPM FILTERING. -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ TITLE: 4.5 Filter settings for VERY NOISY build with RPM FILTERING. +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: rpm, filter, filters, filtering, very, noisy, very noisy, hot, basic, betaflight @@ -11,7 +10,7 @@ #$ DESCRIPTION: If motors remain hot despite strong filtering, it may not be a filtering problem. #$ DESCRIPTION: If motors grind or make noise at idle, lower the D filter slider. -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # enable dshot rpm telemetry set dshot_bidir = ON diff --git a/presets/4.5/filters/ctzsnooze_race.txt b/presets/4.5/filters/ctzsnooze_race.txt index 74fa6b096..73c7d3e6c 100644 --- a/presets/4.5/filters/ctzsnooze_race.txt +++ b/presets/4.5/filters/ctzsnooze_race.txt @@ -1,6 +1,5 @@ #$ TITLE: ctzsnooze's race filter settings -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 +#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: race, filter, filters, ctzsnooze, RPM @@ -9,7 +8,7 @@ #$ DESCRIPTION: tolerates fairly worn setups #$ DESCRIPTION: Requires RPM filtering and DShot telemetry! -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # -- Gyro filters -- # Single static gyro lowpass at 500hz diff --git a/presets/4.5/filters/karate_array.txt b/presets/4.5/filters/karate_array.txt index 52539109c..6e2fc8c0e 100644 --- a/presets/4.5/filters/karate_array.txt +++ b/presets/4.5/filters/karate_array.txt @@ -1,6 +1,4 @@ #$ TITLE: the Karate array -#$ FIRMWARE_VERSION: 4.3 -#$ FIRMWARE_VERSION: 4.4 #$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL @@ -12,7 +10,7 @@ #$ DESCRIPTION: Follow the usual process of hover testing and safely checking out your tune before using. USE AT YOUR OWN RISK. #$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/51 #$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt -#$ INCLUDE: presets/4.3/filters/defaults.txt +#$ INCLUDE: presets/4.5/filters/defaults.txt # -- Gyro lowpass filters -- From fa56b0886ed0d6efc00a0e86b9f3c459b10436b7 Mon Sep 17 00:00:00 2001 From: Ivan Efimov Date: Fri, 8 Dec 2023 17:25:47 -0600 Subject: [PATCH 3/3] Remove 4.5 from 4.3 karate filters --- presets/4.3/filters/karate_array.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/presets/4.3/filters/karate_array.txt b/presets/4.3/filters/karate_array.txt index 52539109c..c36d59d8a 100644 --- a/presets/4.3/filters/karate_array.txt +++ b/presets/4.3/filters/karate_array.txt @@ -1,7 +1,6 @@ #$ TITLE: the Karate array #$ FIRMWARE_VERSION: 4.3 #$ FIRMWARE_VERSION: 4.4 -#$ FIRMWARE_VERSION: 4.5 #$ CATEGORY: FILTERS #$ STATUS: OFFICIAL #$ KEYWORDS: filter, filters, karate, race, freesytle, suagrK, CTZsoonze, KarateBrot, 5"