Status texts, params, and tooltips#18
Conversation
…ease - required disabling the progress bar when loading a file, couldn't get the official build to allow external plugins to open new dialogs. - initial work on status_text and parameter series
- add labels for configured RCOU functions
|
Hello! Thanks a lot for your effort! I'll definitely give it a go, but just in case I hit problems, could you also post some pictures to peak our interest? It's a bit unfortunate that we're losing the progress bar of the loader. In the bigger files, this will look as if the program is stuck. |
|
These are very cool! You should now be able to search for a parameter value right on the messages list! The one thing that definitely needs addressing is appending the servo function on the RCO channels. This will always be breaking saved layouts, so it has to be placed behind a compiler |
|
Ah that's a really good point. I didn't think of saved layouts. I initially added them as tooltips (which would make it work), but I found it really nice to have the function name included on the plot in the legend. In fact we could potentially put the units in the tooltip as well so we don't have to worry about the units vs non-units stuff. I wonder if that is a way to just make the layouts a little less strict somehow for both of these cases. |
|
I kind of like how the units print on the legend. It makes any screencaptured diagrams clearer to read. But I don't see why we wouldn't want the units on the tooltips in either case! |





The main goal here is to get this plugin on par with the .ulog plugin. I set out to create a window to display status_text messages and autopilot parameters. While building on a Mac M2, I ran into a number of issues that I think are caused by trying to run this against the newly available .dmg release from https://github.com/facontidavide/PlotJuggler/releases/tag/3.15.0. The main issue is it seems we're no longer able to create external dialogs unless the plugin was compiled with PlotJuggler? (like the .ulog plugin). That's my best guess anyways.
Because of these issues, I had to make changes to CMakeLists and I found some other creative ways to display the information I wanted without creating a new dialog like is done with the .ulog plugin. The biggest regression I'm aware of is when loading large log files, we no longer get a little loading bar dialog. That was causing segfaults for me.
Feature List:
LogMessageDescriptionsdirectory. I included the most recent Copter.xml and Plane.xml, but they can be updated anytime with the latest versions from https://autotest.ardupilot.org/LogMessages/. After updating those files, clean and rebuild to pull in the newest descriptions.Full disclosure, a lot of the changes were done with the help of AI. It could definitely use a once-over (Especially the CMakeLists... I'm sure AI went a bit overboard on the number of changes to that file).
I put in some effort to clean it up, but I got it working good enough for my use case, and then decided to be done. After an embarrassing number of hours on these features, I don't care to put more time into it right now, but figured I should at least make these changes public in case someone else wants to push it further.