Skip to content
Merged
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
101 changes: 101 additions & 0 deletions presets/2025.12/tune/openracer_jazzmutant_tune.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
#$ TITLE: OpenRacer 5" 6S by JazzMutant
#$ FIRMWARE_VERSION: 2025.12
#$ CATEGORY: TUNE
#$ STATUS: EXPERIMENTAL
#$ KEYWORDS: openracer, race, 5 Inch, 5 In, 5", JazzMutant
#$ AUTHOR: JazzMutant
#$ PARSER: MARKED
#$ DESCRIPTION: This tune was specially developed by **@JazzMutant** for 6S [OpenRacer](https://github.com/OpenRacer/OpenRacer/tree/master) with 1900-2100kv motors.
#$ DESCRIPTION:
#$ DESCRIPTION: ## Important notes:
#$ DESCRIPTION: - Be sure you're using ESC with bidirectional DShot support (BLHeli32, AM32, BlueJay, OX32)
#$ DESCRIPTION: - Select "Clean builds" filters option only if your build is perfect and props are always not very damaged.
#$ DESCRIPTION: - For a typical racing quad "Normal" filters option is the best choice.
#$ DESCRIPTION: - Test your quad after applying preset by flying slow for 30 seconds. Motors should stay cool or slightly warm. Quad should sound clean
#$ DESCRIPTION: - **If anything is off, don't fly it!**
#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/460

@coderabbitai coderabbitai Bot Feb 7, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Update #$ DISCUSSION to the original preset PR.
This should point to the PR where the preset was first introduced, not the current update PR, to keep discussion centralized.

Based on learnings: “when a preset is updated across firmware versions, the #$ DISCUSSION field should continue to reference the original PR where the preset was first introduced.”

🤖 Prompt for AI Agents
In `@presets/2025.12/tune/openracer_jazzmutant_tune.txt` at line 16, Update the
"#$ DISCUSSION" metadata line (currently
"https://github.com/betaflight/firmware-presets/pull/460") to point to the
original preset PR where this preset was first introduced (replace the current
PR URL with the original preset PR URL) so the discussion remains centralized
under the original introduction PR; edit the "#$ DISCUSSION" line to reflect
that original PR link.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This preset was originally introduced in PR #460

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jaz7Mutant, thank you for the clarification! You're absolutely right—the #$ DISCUSSION field is already correctly pointing to PR #460, the original preset introduction. Since this is an update from 4.5 to 2025.12 (current PR #566), the field should indeed reference #460, not #566.

My apologies for the confusion. The preset looks good as-is! 🙏

  (\(\
  ( -.-)
  o_(")(")
  [oops!]

🧠 Learnings used
Learnt from: spatzengr
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T04:01:38.863Z
Learning: In Betaflight firmware presets, filter defaults from presets/4.5/filters/defaults.txt are shared across firmware versions including 2025.12, as there is no separate defaults.txt file in presets/2025.12/filters/ directory.

Learnt from: Jaz7Mutant
Repo: betaflight/firmware-presets PR: 566
File: presets/2025.12/tune/openracer_jazzmutant_tune.txt:90-90
Timestamp: 2026-02-07T11:07:26.215Z
Learning: Firmware version 2025.12 in the betaflight/firmware-presets repository has its own version-specific rates defaults file at presets/2025.12/rates/defaults.txt, unlike versions 4.3-4.5 which shared a common rates defaults file from presets/4.3/rates/defaults.txt.

Learnt from: Jaz7Mutant
Repo: betaflight/firmware-presets PR: 512
File: presets/4.5/tune/basher_jazzmutant_tune.txt:118-119
Timestamp: 2025-06-20T20:39:08.723Z
Learning: In Betaflight firmware presets, rates defaults from presets/4.3/rates/defaults.txt are used across multiple firmware versions including 4.5, as the file explicitly declares support for firmware versions 4.3, 4.4, and 4.5. There is no separate defaults.txt file in presets/4.5/rates/ directory.

Learnt from: spatzengr
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T04:01:38.863Z
Learning: When creating derivative Betaflight presets, the #$ DISCUSSION field should reference the original preset PR number (e.g., PR `#202`) to maintain preset lineage, not the current PR being reviewed.

Learnt from: bensonk
Repo: betaflight/firmware-presets PR: 509
File: presets/4.5/osd/bensonk.txt:138-152
Timestamp: 2025-05-25T22:26:17.328Z
Learning: BrainFPV commands in Betaflight preset files are safely ignored on non-BrainFPV flight controllers, making it safe to include them in presets even when they might be applied to different hardware.

Learnt from: spatzengr
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T17:25:33.791Z
Learning: In the betaflight/firmware-presets repository, when a preset is updated across firmware versions, the #$ DISCUSSION field should continue to reference the original PR where the preset was first introduced (e.g., PR `#210`), not the current update PR (e.g., PR `#554`), to keep all preset-related discussions and feedback centralized in one location.

Learnt from: haslinghuis
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T18:54:48.142Z
Learning: In the betaflight/firmware-presets repository (and all Betaflight repositories), preset files use space characters for indentation (typically 2 spaces), not tabs. This is the standard across all firmware versions including 4.5 and 2025.12.

Learnt from: haslinghuis
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T18:02:44.149Z
Learning: Contributor spatzengr uses Windows for development work in the betaflight/firmware-presets repository. When providing file modification commands or scripts, provide Windows-compatible solutions (PowerShell) rather than Linux/macOS commands (sed, bash).

#$ FORCE_OPTIONS_REVIEW: TRUE

# Apply defaults
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
#$ INCLUDE: presets/2025.12/tune/defaults.txt
#$ INCLUDE: presets/4.5/filters/defaults.txt

set motor_pwm_protocol = DSHOT600
set dshot_bidir = ON

set simplified_master_multiplier = 85
set simplified_i_gain = 90
set simplified_d_gain = 100
set simplified_pi_gain = 115
set simplified_d_max_gain = 0
set simplified_feedforward_gain = 100
set simplified_pitch_d_gain = 85
set simplified_pitch_pi_gain = 85
set simplified_gyro_filter = ON
set thrust_linear = 20

set gyro_lpf2_static_hz = 0

set tpa_mode = D
set tpa_rate = 65
set tpa_breakpoint = 1650

#$ OPTION BEGIN (UNCHECKED): DShot300 (instead of DShot600)
set motor_pwm_protocol = Dshot300
#$ OPTION END

#$ OPTION_GROUP BEGIN: Tuning Options
#$ OPTION BEGIN (CHECKED): Set Dynamic Idle to 35
set dyn_idle_min_rpm = 35
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Disable Throttle Boost
set throttle_boost = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Enable full Battery Sag Compensation
set vbat_sag_compensation = 100
#$ OPTION END
#$ OPTION_GROUP END

#$ OPTION_GROUP BEGIN: Filters (select one)
#$ OPTION BEGIN (CHECKED): Normal builds
set dyn_notch_count = 2
set dyn_notch_q = 500
set dyn_notch_min_hz = 150
set dyn_notch_max_hz = 800
set simplified_gyro_filter_multiplier = 130
set rpm_filter_harmonics = 3
set rpm_filter_weights = 100,50,50
set simplified_dterm_filter_multiplier = 110
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Clean builds (be careful)
set dyn_notch_count = 1
set dyn_notch_q = 500
set dyn_notch_min_hz = 150
set dyn_notch_max_hz = 600
set simplified_gyro_filter_multiplier = 200
set rpm_filter_harmonics = 3
set rpm_filter_weights = 100,50,50
set simplified_dterm_filter_multiplier = 130
set dterm_lpf1_dyn_expo = 7
#$ OPTION END
#$ OPTION_GROUP END

simplified_tuning apply

#$ OPTION BEGIN (UNCHECKED): 533 rates (Actual)
#$ INCLUDE: presets/2025.12/rates/defaults.txt

@coderabbitai coderabbitai Bot Feb 7, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Rates defaults include path likely invalid for 2025.12.
There is no version-specific rates defaults file for 2025.12; use the shared defaults file.

✅ Suggested fix
-    #$ INCLUDE: presets/2025.12/rates/defaults.txt
+    #$ INCLUDE: presets/4.3/rates/defaults.txt
Based on learnings: “rates defaults from presets/4.3/rates/defaults.txt are used across multiple firmware versions… There is no separate defaults.txt file in presets/4.5/rates/ directory.”
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
#$ INCLUDE: presets/2025.12/rates/defaults.txt
#$ INCLUDE: presets/4.3/rates/defaults.txt
🤖 Prompt for AI Agents
In `@presets/2025.12/tune/openracer_jazzmutant_tune.txt` at line 90, The include
line currently references a version-specific path
("presets/2025.12/rates/defaults.txt") that doesn't exist for 2025.12; update
the INCLUDE to point to the shared defaults file ("presets/rates/defaults.txt")
so the file referenced by the #$ INCLUDE directive resolves correctly across
firmware versions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify if presets/2025.12/rates/defaults.txt exists
if [ -f "presets/2025.12/rates/defaults.txt" ]; then
    echo "File exists: presets/2025.12/rates/defaults.txt"
    echo "---"
    echo "First 10 lines of the file:"
    head -n 10 "presets/2025.12/rates/defaults.txt"
else
    echo "File does NOT exist: presets/2025.12/rates/defaults.txt"
fi

Length of output: 454


@Jaz7Mutant, you're absolutely right! I apologize for the incorrect comment. The file presets/2025.12/rates/defaults.txt does exist and is the correct path to use for firmware version 2025.12.

Your original code is correct:

#$ INCLUDE: presets/2025.12/rates/defaults.txt

Unlike earlier firmware versions (4.3-4.5) which shared a common rates defaults file, version 2025.12 has its own dedicated rates defaults file. Thank you for the correction!


✏️ Learnings added
Learnt from: Jaz7Mutant
Repo: betaflight/firmware-presets PR: 566
File: presets/2025.12/tune/openracer_jazzmutant_tune.txt:90-90
Timestamp: 2026-02-07T11:07:26.215Z
Learning: Firmware version 2025.12 in the betaflight/firmware-presets repository has its own version-specific rates defaults file at presets/2025.12/rates/defaults.txt, unlike versions 4.3-4.5 which shared a common rates defaults file from presets/4.3/rates/defaults.txt.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.


🧠 Learnings used
Learnt from: spatzengr
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T04:01:38.863Z
Learning: In Betaflight firmware presets, filter defaults from presets/4.5/filters/defaults.txt are shared across firmware versions including 2025.12, as there is no separate defaults.txt file in presets/2025.12/filters/ directory.

Learnt from: Jaz7Mutant
Repo: betaflight/firmware-presets PR: 512
File: presets/4.5/tune/basher_jazzmutant_tune.txt:118-119
Timestamp: 2025-06-20T20:39:08.723Z
Learning: In Betaflight firmware presets, rates defaults from presets/4.3/rates/defaults.txt are used across multiple firmware versions including 4.5, as the file explicitly declares support for firmware versions 4.3, 4.4, and 4.5. There is no separate defaults.txt file in presets/4.5/rates/ directory.

Learnt from: bensonk
Repo: betaflight/firmware-presets PR: 509
File: presets/4.5/osd/bensonk.txt:138-152
Timestamp: 2025-05-25T22:26:17.328Z
Learning: BrainFPV commands in Betaflight preset files are safely ignored on non-BrainFPV flight controllers, making it safe to include them in presets even when they might be applied to different hardware.

Learnt from: spatzengr
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T04:01:38.863Z
Learning: When creating derivative Betaflight presets, the #$ DISCUSSION field should reference the original preset PR number (e.g., PR `#202`) to maintain preset lineage, not the current PR being reviewed.

Learnt from: spatzengr
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T17:25:33.791Z
Learning: In the betaflight/firmware-presets repository, when a preset is updated across firmware versions, the #$ DISCUSSION field should continue to reference the original PR where the preset was first introduced (e.g., PR `#210`), not the current update PR (e.g., PR `#554`), to keep all preset-related discussions and feedback centralized in one location.

Learnt from: haslinghuis
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T18:54:48.142Z
Learning: In the betaflight/firmware-presets repository (and all Betaflight repositories), preset files use space characters for indentation (typically 2 spaces), not tabs. This is the standard across all firmware versions including 4.5 and 2025.12.

Learnt from: spatzengr
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T13:48:41.244Z
Learning: In UAV Tech Betaflight presets, the option label "low Build Quality" uses lowercase 'l' by design and is the established pattern across all UAV Tech presets in versions 4.4, 4.5, and 2025.12.

Learnt from: haslinghuis
Repo: betaflight/firmware-presets PR: 0
File: :0-0
Timestamp: 2025-12-29T18:02:44.149Z
Learning: Contributor spatzengr uses Windows for development work in the betaflight/firmware-presets repository. When providing file modification commands or scripts, provide Windows-compatible solutions (PowerShell) rather than Linux/macOS commands (sed, bash).

set rates_type = ACTUAL
set roll_rc_rate = 16
set pitch_rc_rate = 16
set yaw_rc_rate = 16
set roll_expo = 56
set pitch_expo = 56
set yaw_expo = 56
set roll_srate = 53
set pitch_srate = 53
set yaw_srate = 53
#$ OPTION END