-
-
Notifications
You must be signed in to change notification settings - Fork 919
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
Improve pidTuningIdleMinRpmHelp Tooltip text #1976
Conversation
locales/en/messages.json
Outdated
@@ -3663,7 +3663,7 @@ | |||
"message": "Dynamic Idle Value [rpm]" | |||
}, | |||
"pidTuningIdleMinRpmHelp": { | |||
"message": "Set this parameter to provide an rpm based floor-value as a safety net against motor desync.<br>A racer might prefer very good response and low rates - therefore a low Dynamic Idle[rpm] and a high Dshot Idle value may be useful. Freestylers and LOS pilots will appreciate very low thrust at idle and might want to use less Dshot Idle value while using a bit more Dynamic Idle[rpm] to avoid desyncs at high rates. Note that the Dynamic Idle[rpm] value always must be less than Dshot Idle value.<br><br>Visit this <a href=\"https://github.com/betaflight/betaflight/wiki/Tuning-Dynamic-Idle\"target=\"_blank\" rel=\"noopener noreferrer\">wiki</a> entry for more info." | |||
"message": "Set this parameter to dynamically adjust the minimum DShot value based on the rpm and avoid motor desyncs.<br>Lower Dynamic Idle [rpm] with higher DShot Idle provides more response at low throttle, better for racing.<br>Higher Dynamic Idle [rpm] with lower DShot Idle provides less unwanted thrust at low throttle, better for freestyle.<br>Note that the Dynamic Idle [rpm] value must always be less than the DShot Idle value.<br><br>Visit this <a href="https://github.com/betaflight/betaflight/wiki/Tuning-Dynamic-Idle"target="_blank" rel="noopener noreferrer">wiki</a> entry for more info." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The backslashes in the string need to be escaped: \"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. how the hell did the Travis CI build succeeded with this major flaw?! JS sure is forgiving
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leocb: It's not about being 'forgiving', it's about being lazy and only evaluating most things at runtime (and then happily crashing).
But you are making a good point - it might make sense to add a test for this. And I am halfway surprised that SonarCloud does not do a correctness check for JSON.
The change may unintentionally cause confusion. When dynamic idle is active, the DShot value becomes a minimum throttle value. The actual DShot minimum value is zero. Therefore it is not correct to say, "Set this parameter to dynamically adjust the minimum DShot value based on the rpm..." because it doesn't do that. What rpm filtering actually does is to permanently set the minimum DShot value to zero, and then dynamically modifies the values sent to each motor, individually, to prevent its rpm from falling below the specified minimum. I think my original introductory sentence that says, "Set this parameter to provide an rpm based floor-value as a safety net against motor desync." is technically correct and simple to understand. |
The first phrase is wrong to describe Dynamic Idle. Maybe we can use same like this(from new updated Dynamic Idlea entry):
|
There remain some unknowns about dynamic idle for racing. I am certain that this, below, is true, and am comfortable with this text for 4.2.
|
That's a very good suggestion, may I try to improve it a bit more?
"safety net" may be hard for translators, so it's better to use similar, but different phrasing, just wondering if I should use |
I don't think |
Maybe as a compromise, Rationale:
|
Here's my suggestion based on ctzsnooze comments on slack: But this is too much text to cram into a tool tip, suggestion n.2 is: |
We have no experience about optimal settings for racing. |
I completely agree with ctzsnooze, and thanks for your time! the text on his last comment is perfect IMO. The PR has been updated accordingly |
Seems that you forgot wiki entry reference :) is one of the most important part of this tooltip, originaly added due to the difficulty of adjusting and understanding this feature, and to take advantage of our current resources. |
This phrase is more concise, direct to the point and uses less technical jargon that's better for the end-user that soes not care to what happens under the hood. Please correct me if I defined something wrong. escaped double quotes chars better IdleMinRPM tooltip Thanks to ctzsnooze Added wiki entry for Dynamic Idle
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
added wiki entry and rebased |
This phrase is more concise, direct to the point and uses less technical jargon that's better for the end-user that does not care to what happens under the hood. Please correct me if I defined something wrong.