MAVExplorer: Add histrograms - #1681
Conversation
Co-authored-by: Copilot <copilot@github.com>
|
Automated review note — AI-generated (Claude), validated against the live diff. Please sanity-check before acting. Reviewed at head 1. A single NaN turns every overlaid statistic into NaN, and the plot still looks fine. 2. Bad bins or non-finite data kill the child process with no message anywhere. Also worth fixing: "field has no samples" is only Checked and correct, so nobody re-litigates it: the process model is right — everything wx/pyplot-touching runs only in the child, pipe-end ownership matches |
This PR adds histrogram-style graphs to MAVExplorer. This is useful for analysing the performance (such as crosstrack) of a vehicle.
Can be used similarly to graphs:
histrogram NTUN.XTrackThe histrogram will autoupdate it's range based on panning or zooming on other graphs.
There are 2 options:
-
hist_binsfor specifying the number of histrograms bins (default 50)-
hist_show_statsfor overlaying the median and std dev (default true)