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
Fix integrated yaw usage #2651
Fix integrated yaw usage #2651
Conversation
AUTOMERGE: (FAIL)
|
After testing I found we have to press the Enable button twice. Moving the code to pid_tuning.js solves it:
|
move code to pidtuning.js fix tuningsliders
e734c11
to
5a13439
Compare
In my testing, the PR allows me to edit manually edit PID values, when integrated yaw is enabled, but if I save the Profile, then my changes are lost and I cannot edit the values anymore. |
@ctzsnooze Can't reproduce as I've tested |
Yes, we need to take a look into this issue. Ithink sliders are not changing correctly from RPY to off. |
Sorry @asizon I made a typo in my first suggestion. Now I have more time I had a fresh look and found you should move the fix to around line 1936 as this only applies to sliders. We can leave the code around 550 untouched:
The typo was |
So enabling integrated yaw should disable sliders for RPY, not just Y? |
Hmm you suggest setting slider to RP mode instead to OFF? Makes sense to me. Testing now. |
I suggest setting it to RP IF it's currently set to RPY |
Worked out the changes needed @klutvott123 suggested: |
@asizon - do you have time to update this PR and test it? We need to resolve this for 10.8 RC1 as soon as possible. |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Tested, works by pushing slider mode to RP mode. |
Allow manual pid change when integrated yaw is enabled.