tools: Add stats menu and widget, with rate and totals around incoming/outgoing messages#1911
tools: Add stats menu and widget, with rate and totals around incoming/outgoing messages#1911rafaellehmkuhl wants to merge 4 commits intobluerobotics:masterfrom
Conversation
1a8a5b2 to
7f9cef9
Compare
ArturoManzoli
left a comment
There was a problem hiding this comment.
It's visually very nice
I noticed on the code a number of comments that is way larger than usual.
Some of these comments are a little redundant with the function names and some are describing elements that would be ok without a comment.
Can you review them?
a246114 to
83d302e
Compare
83d302e to
0a016d9
Compare
0a016d9 to
02f2397
Compare
Removed some of them that appeared to be unnecessary. Let me know if there are any others that you think should be removed as well. |
|
ping @ArturoManzoli |
ES-Alexander
left a comment
There was a problem hiding this comment.
I like the potential of this page. It seems to quite naturally extend to including things like network latency, video stream stats, and tether diagnostics (maybe an API would be useful?) :-)
From some light testing, this seems to mostly work as expected, except that the MAVLink time-related stats seem poorly determined - they're frequently showing up as negative (e.g. the message was received more recently than the "current time" timestamp it's being compared to):
Unfortunately this is a problem in mavlink2rest itself. If you open it's frontend, you will see the same values. @patrickelectric any idea on that? |

New Features
Kapture.2025-05-26.at.17.26.49.mp4
Kapture.2025-05-26.at.18.06.30.mp4
Modified Features
Setup
Vehicle usage
Tests Required to Merge (by dev and/or testers)
Text/display changes
Functionality changes