Plotting tools for reading and showing Pixhawk uLog logs in Matlab.
- The pyulog package needs to be installed:
pip install pyulog
Script to convert .ulg files first to .csv files and then import it to matlab. Adjust the necessary parameters such as file name, loading mode or if the plots should be displayed. The log file must be placed in the 04_log_files folder. If any plots should be displayed adjust the necessary parameters in 01_draw_functions/DisplayPX4LogData.m. A successful run of the script produces following outputs:
- The desired plots
- The .csv files in the
05_csv_filesfolder if they should be kept - The saved sysvector in the
06_mat_filesfolder - The generated .kmz file for Google Earth in
07_kmz_filesfolder if the global position estimation plots are executed.
- Generate the plotting function in
01_draw_functions/01_subfunctions - Add the function call and parameters, if required, in the
DisplayPX4LogData.mscript. - If the axes should be linked to other figures add the figure indexes in the
LinkFigureAxes.mfunction.