Hello everybody,
I am flying with a fixed wing aircraft on which are installed Holybro Pixhawk 4 running PX4 firmware and related sensors.
At mission completion, I open QGroundControl and download the log .ulg file. I can upload it on Flight Review without problem, but I need to manipulate those data using Matlab.
I can import the .ulg in Matlab, but the timestamps are not synced the one with the others, and also acquisition rates are not consistent inside each vector. I exploited built-in Matlab function āulogreaderā to import the .ulg file. Alternatively I used pyulog to convert .ulg file in .csv, then imported in Matlab. The result is the same.
Iād like to obtain data sampled in a synchronous way, meaning for example air data and GPS data are referred to the same timestamps (as for example happens for the .csv file delivered by telemetry). This is not the case of .ulg file, because even if data should share the same sampling rate, they have an inherent time shift, sampling rates change randomly and samples often lack in the vectors Iām post-processing.
Does anybody know how to solve these issues?
Thanks!!!