I took a break from building and tuning quad copters to do some python coding.
I decided to write code that reports on the contents of .ulg log files. The three I’ve written so far present information not available on the Flight Review website.
I plan to write more, and welcome comments and suggestions.
My code uses the pyulog package to access the .ulg log files. It uses pymavlink to access ArduPilot .bin files.
There are lots of other ways to extract this sort of info. MavExplorer has an excellent set of tools for creating custom charts for ArduPilot .bin files. I haven’t found anything like it yet for PX4 .ulg files - but I suspect they are out there.
I decided to work on this as a little exploration into python, and to make something useful. I use the PX4 Flight Review website extensively. But there are a few things it doesn’t have - so I’m going to see if I can write them and share them.
If you’re really interested in enhanced log tools you should consider a plotjuggler plugin. I’m not completely sure if a plugin is the right solution or if we need to add custom PX4 tools into plotjuggler, but I’d love to see standardization around one tool and plotjuggler is by far the best
I’ve had plotjuggler on my to-do list for a while. I’ve made good use of the Flight Review web site - and it’s excellent. But occasionally there are things it doesn’t display that I need.
On the ArduPilot side I’m used to using Mission Planner and MavExplorer.
The idea behind my python scripts is to make it easy to quickly generate things that are commonly needed - like the parameter list and their values.
I’m writing scripts that support both PX4 and ArduPilot because I use them both.
I’m pretty sure tools like plot juggler can give you pretty much anything someone needs. But you have to go through the learning curve. I was thinking it might be nice to have a few quick and easy reports on things that are commonly needed in my workshop.
I appreciate your input - and would welcome any and all suggestions. BTW - I’ve put my code up on GitHub in case anyone wants to contribute or fork off on their own.
Nice idea. I mostly use Matlab for accessing logs. If anyone is interested, I can share my loading script. I work only with PX4 ulog, but I can modify it for Ardupilot.