fw_px4_plottools
fw_px4_plottools copied to clipboard
Plotting tools for reading and showing Pixhawk uLog logs in Matlab
fw_px4_plottools
Plotting tools for reading and showing Pixhawk uLog logs in Matlab.
Installation
- The pyulog package needs to be installed:
pip install pyulog
logconv.m
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_files
folder if they should be kept - The saved sysvector in the
06_mat_files
folder - The generated .kmz file for Google Earth in
07_kmz_files
folder if the global position estimation plots are executed.
Adding new Plots
- Generate the plotting function in
01_draw_functions/01_subfunctions
- Add the function call and parameters, if required, in the
DisplayPX4LogData.m
script. - If the axes should be linked to other figures add the figure indexes in the
LinkFigureAxes.m
function.