-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Resolved issue of wrong throttle values at spectrum chart when not all log parameters are selected in blackbox settings #713
Resolved issue of wrong throttle values at spectrum chart when not all log parameters are selected in blackbox settings #713
Conversation
…ding fields names and their values
This comment has been minimized.
This comment has been minimized.
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.
Some minor changes. Otherwise LGTM.
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
Code style improvement Co-authored-by: Mark Haslinghuis <mark@numloq.nl>
This comment has been minimized.
This comment has been minimized.
Ok. Thank's. |
do you prefer |
Morgan's law :) |
I prefer !a &&. !b |
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.
- approving, but only tested few logs for not-crashing and expected traces.
- not tested with logs missing parameters except the provided
test.TXT
.
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.
Easier to read now :)
so the proper gate is |
morgan law is too clever:) |
This comment has been minimized.
This comment has been minimized.
Quality Gate passedIssues Measures |
Yes, this is a thin moment. |
Do you want to test this code? Here you have an automated build: |
The issues description:
The wrong throttle values at spectrum chart.
This issue appears if to disable some blackbox fields in list at Blackbox page of Betaflight Configurator 4.5 version.
For example - if enabled the gyro, gyro unfiltered and SetPoints only.
There is log file to test this.
test.TXT
The reason of this issue - the difference of logical conditions what are permissed creating of additional computing fields and filling data into it.
(the functions buildFieldNames() and injectComputedFields() in flightlog.js file).
There are the incongruity fields indexes in log algoritmes in this case. As result - We are seeing the scaled yaw setpoint values instead of throttle in my example.
This PR resolved this issue.