-
Notifications
You must be signed in to change notification settings - Fork 78
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
Plotting discontinuous dataflash records and GPS time #222
Comments
Hi, can you share this log? your time axis seems weird, what commit hash and build date do you see under the dropzone? |
I think I generated those plots using plot2.ardupilot.org: |
Please use plot.ardupilot.org or plotbeta.ardupilot.org. I'll try to make plot2 redirect there. I am confused here... Should there not be a new point if the value hasn't changed? We still received a value even if it hasn't changed... |
Hah. it turned out to be typo. I blame the english language! |
@kd0aij do you mind checking how it looks now in http://plotbeta.ardupilot.org? |
Looks correct to me now; I can tell that RLX stops when it should by hovering with the mouse, but I'd prefer that the line was also suppressed, since the continuous ramp from one value to the next gives a false impression without sample markers. BTW, that is Chrome in Windows 10 (insider fast ring): |
This is due to plotly's implementation. It doesn't use regular css, instead everything is placed in a [-1,1] interval. That makes it very hard to match different window sizes. For now it works well on 1080p here, and is show be at least usable on lower ones. Back on topic, unfortunately, as you see in #223, enabling markers is VERY expensive without scattergl, and for now scattergl is not compatible with the rangeslider, so that will have to wait. Meanwhile I merged #228 and it should be live in plotbeta.ardupilot.org when CI is done. |
I see that the text placement is good if I expand to full screen, so that's OK. |
samples are now connected by a straight line in beta, so gaps appear as long, straight lines and hovering with the mouse can be used to identify gaps in the data |
Hi @kd0aij , It should actually look like this, now (in http://plotbeta.ardupilot.org): |
that's great! Didn't know you were still working on it. Now I'll have to see if I can do the same for mavexplorer. |
Some log records aren't recorded continuously; there may be intervals of time when no samples are present.
mavproxy.py shows this by plotting a symbol at each time for which a sample exists, and connecting the symbols with a solid line.
but UAV logviewer just draws the line, and obscures the fact that some samples are missing:
My preference would be to suppress the line between time discontinuities and to plot a symbol at each sample location.
It would also be nice to have the option to display the GPS time instead of time since boot.
The text was updated successfully, but these errors were encountered: