Skip to content

Update openracer preset from 4.5 to 2025.12 - #566

Merged
limonspb merged 1 commit into
betaflight:masterfrom
Jaz7Mutant:jazzmutant-openracer-2025.12
Apr 30, 2026
Merged

Update openracer preset from 4.5 to 2025.12#566
limonspb merged 1 commit into
betaflight:masterfrom
Jaz7Mutant:jazzmutant-openracer-2025.12

Conversation

@Jaz7Mutant

@Jaz7Mutant Jaz7Mutant commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

Updated command for d max slider and updated references in include commands

Summary by CodeRabbit

  • New Features
    • Added a new tuning preset for OpenRacer JazzMutant 5" 6S, including pre-configured settings for motor performance, filtering, dynamic idle, battery compensation, and control rates to optimize flight characteristics.

@coderabbitai

coderabbitai Bot commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@Jaz7Mutant has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 41 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📝 Walkthrough

Walkthrough

A new tune preset file for the OpenRacer JazzMutant 5" 6S drone is added, containing metadata, configuration directives for motor protocols, filter settings, dynamic idle tuning, and rate presets in a structured option-based format.

Changes

Cohort / File(s) Summary
New OpenRacer JazzMutant Preset
presets/2025.12/tune/openracer_jazzmutant_tune.txt
Addition of a complete tune preset configuration file with motor PWM settings, DShot protocol options, dynamic idle tuning, filter profiles (normal and clean builds), simplified tuning directive, and rate presets with RC curve configurations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • haslinghuis
  • limonspb

Poem

🐰 A preset so fine for JazzMutant wings,
With filters tuned and dynamic idle sings,
DShot and rates dance in perfect flight,
OpenRacer soars, configured just right! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The pull request description is minimal and lacks required context. It mentions updating 'd max slider' and 'include commands' but provides no detailed explanation of what changed, why, or how to verify the changes. Expand the description to explain the specific changes made (d max slider command updates, include file reference changes), why these updates were necessary, and any testing performed.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: updating the OpenRacer preset version from 4.5 to 2025.12.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

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.

Actionable comments posted: 3

🤖 Fix all issues with AI agents
In `@presets/2025.12/tune/openracer_jazzmutant_tune.txt`:
- Line 14: Update the DESCRIPTION line in
presets/2025.12/tune/openracer_jazzmutant_tune.txt by correcting the typo
"shoud" to "should" in the comment that begins with "#$ DESCRIPTION:" so the
user-facing text reads "Motors should stay cool or slightly warm." and the
overall sentence remains "Test your quad after applying preset by flying slow
for 30 seconds. Motors should stay cool or slightly warm. Quad should sound
clean".
- 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.
- 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.
🧹 Nitpick comments (1)
presets/2025.12/tune/openracer_jazzmutant_tune.txt (1)

49-85: Use 2-space indentation inside option blocks.
The repo standard is spaces (typically 2) for indentation, not 4.

Based on learnings: “preset files use space characters for indentation (typically 2 spaces), not tabs.”

Also applies to: 90-100

Comment thread presets/2025.12/tune/openracer_jazzmutant_tune.txt Outdated
#$ 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 shoud 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).

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).

@Jaz7Mutant
Jaz7Mutant force-pushed the jazzmutant-openracer-2025.12 branch from ae9dd6e to 8d70a04 Compare February 7, 2026 11:10
@sugaarK
sugaarK requested a review from limonspb April 30, 2026 03:32
@limonspb
limonspb merged commit 29fa085 into betaflight:master Apr 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants