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

Update FFT-FREQ & add SPA and TASK debug modes #4085

Merged
merged 6 commits into from
Aug 14, 2024

Conversation

haslinghuis
Copy link
Member

@haslinghuis haslinghuis commented Jul 4, 2024

Copy link

netlify bot commented Jul 4, 2024

Deploy Preview for origin-betaflight-app ready!

Name Link
🔨 Latest commit fb10f95
🔍 Latest deploy log https://app.netlify.com/sites/origin-betaflight-app/deploys/66b0ecb83370dc0008068727
😎 Deploy Preview https://deploy-preview-4085.dev.app.betaflight.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@haslinghuis haslinghuis force-pushed the update-fft-freq branch 3 times, most recently from 50c8815 to d82ce3a Compare July 30, 2024 09:17
@haslinghuis haslinghuis requested a review from a team August 3, 2024 15:19
@haslinghuis haslinghuis changed the title Update FFT-FREQ Update FFT-FREQ & add SPA and TASK debug modes Aug 5, 2024
@@ -4408,7 +4408,7 @@
"message": "Set this to the highest incoming noise frequency that is needed to be controlled by the dynamic notch."
},
"pidTuningDynamicNotchCountHelp": {
"message": "Sets the number of dynamic notches per axis. With RPM filter enabled a value of 1 or 2 is recommended. Without RPM filter a value of 4 or 5 is recommended. Lower numbers will reduce filter delay, however it may increase motor temperature."
"message": "Sets the number of dynamic notches per axis. With RPM filter enabled a value of 1 or 2 is recommended. Without RPM filter a value of 4 or 5 is recommended. Lower numbers will reduce filter delay, however it may increase motor temperature.<br/></br/>For Cinelifters a value of 6 or 7 may be required where Dshot telemetry is not applicable."
Copy link
Member

Choose a reason for hiding this comment

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

i could be wrong, but i'm not certain that this indeed a "recommendation", but rather a only possibility.
@bw1129 ?

edit: but i suppose the text is not "wrong" either.

Copy link

Choose a reason for hiding this comment

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

@nerdCopter not sure what you're saying here, but what I can tell you is that for really large lifters and x-class rigs, it is common to use APD 200a ESCs (and others) that are not RPM ready (and never will be). It is also common to use bi-blades on really large rigs, which themselves can generate 5 or more motor harmonics, and currently this leaves nothing for resonance peaks, not to mention that using DNs are not super effective without using more notches than harmonics present. So to have a couple more available when RPM is not an option is a good thing.

My original suggestions was to keep the GUI limit to 5, and make the additional 2 notches only available via CLI, to avoid less experienced tuners for doing bad things. I still stand by this

Copy link
Member Author

Choose a reason for hiding this comment

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

Okay, dropped the GUI changes for number of notches used.

@haslinghuis haslinghuis requested a review from limonspb August 5, 2024 13:55
Copy link

sonarqubecloud bot commented Aug 5, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
57.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

Copy link
Member

@ctzsnooze ctzsnooze left a comment

Choose a reason for hiding this comment

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

Thanks, Mark

@haslinghuis haslinghuis merged commit 0386b60 into betaflight:master Aug 14, 2024
7 of 8 checks passed
@haslinghuis haslinghuis deleted the update-fft-freq branch August 14, 2024 06:26
OGCJM11 pushed a commit to OGCJM11/betaflight-configurator that referenced this pull request Dec 28, 2024
* Update FFT-FREQ

* Increase dynamic notch count for API 1.47

* Add update function and cleanup

* Update fieldNames

* Add more debug modes

* Do not change notches in GUI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

4 participants