-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Debug field graphs display with seemingly random scaling and position #196
Comments
The Debug values must be added, one by one by each debug mode. If not, the blackbox explorer ignores what this debug value contains, so it shows the raw value but ignores the max or min, offset, etc. To any debug mode, the "names" for the fields can be added in Take a look to it, or if you prefer, please give here the information for the debug mode (name, name of each debug field, units, value that contains) in an easy way that I can understand, attach one log file, and I will add it ;) |
I can do that, but perhaps we need a fallback for unknown debug_mode values? I run into this all the time when testing new code and add a debug_mode to see what's going on. Being able to able to align the data to other fields (even between debug 0 and debug 1 for example). In the end these fields may not ever make it into a PR. |
Or maybe an option in the graph setup to "match" the offset/scaling of some other known field - just an idea. So if I know that I want to compare debug[0] to rcCommand[roll] I can match the scaling/offset because I know they have the same raw values. |
What about creating a general "match function" that you can use to visually match scale of any two fields? Match the min and max value using the full length data of the two fields. Maybe this can also be extended to matching expo? Sure, you may match completely unrelated signals, but I just guess you'll have to use it with care. |
This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week. |
This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week. |
@etracer65: Marked as 'bug' to keep it open. |
When comparing some debug fields to other normal fields in logs it's common that the scaling or position of the debug data seems to be chosen at random. Take this example:
In this case the data in debug[0] is exactly the same scale and range as the data in rcCommand[roll]. The graph setup for this display is:
In fact, even the data elements at the highlighted point are identical:
But clearly in this case the scaling is different.
Additionally, it seems if there are multiple logs in the file it causes not only the scale to be incorrect but also offsets the debug values:
I've also observed (but don't have repeatable steps) cases where adding or removing additional fields to the graph causing the debug values to change scaling or position. In some cases quitting and reopening the same log (with unchanged settings) will also change the display.
The text was updated successfully, but these errors were encountered: