Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.5 filters transfer #432

Merged
merged 3 commits into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion presets/4.3/filters/karate_array.txt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
46 changes: 46 additions & 0 deletions presets/4.5/filters/basic_no_rpm_clean.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#$ 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
#$ 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.5/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) --
45 changes: 45 additions & 0 deletions presets/4.5/filters/basic_no_rpm_noisy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#$ 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
#$ 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.5/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) --
45 changes: 45 additions & 0 deletions presets/4.5/filters/basic_no_rpm_normal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#$ 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
#$ 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.5/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) --
47 changes: 47 additions & 0 deletions presets/4.5/filters/basic_no_rpm_very_clean.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#$ 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
#$ 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.5/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) --
45 changes: 45 additions & 0 deletions presets/4.5/filters/basic_no_rpm_very_noisy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#$ 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
#$ 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.5/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) --
50 changes: 50 additions & 0 deletions presets/4.5/filters/basic_rpm_clean.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#$ 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
#$ 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.5/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) --
51 changes: 51 additions & 0 deletions presets/4.5/filters/basic_rpm_noisy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#$ 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
#$ 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.5/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) --
44 changes: 44 additions & 0 deletions presets/4.5/filters/basic_rpm_normal.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#$ 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
#$ 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.5/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) --
Loading
Loading