mirror of
https://github.com/ethz-asl/fw_px4_plottools.git
synced 2026-12-04 11:28:43 +00:00
Read-only mirror of https://github.com/ethz-asl/fw_px4_plottools — ETHZ ASL. Issues & pull requests at the source.
- HTML 53.8%
- MATLAB 46.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| 01_draw_functions | ||
| 02_helper_functions | ||
| 03_kmltoolbox_v2.6 | ||
| 04_log_files | ||
| 05_csv_files | ||
| 06_mat_files | ||
| 07_kmz_files | ||
| 08_analysis_tools | ||
| .gitignore | ||
| logconv.m | ||
| README.md | ||
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_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.
Adding new Plots
- 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.