/ulog_plotter

A quick example of plotting data from .ulog log file using MATLAB

Primary LanguageMATLABBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ulog_plotter

Warning

This is a badly written document, but I do not have the time to clean it up now. But I wanted to write it down somewhere.

The attached MATLAB Script plots the following figures out of PX4 log file (.ulg)

  1. Position tracking
  2. Linear velocity tracking
  3. Orientation tracking
  4. Individual roll-pitch-yaw tracking
  5. Angular velocity tracking
  6. Ind. Angular velocity tracking
  7. Position error [time series]
  8. Attitude error [time series]
  9. Position error [boxplot]
  10. Attitude error [boxplot]
  11. Rotors PWM [time series]
  12. Rotors PWM [histogram]

Try it

In MATLAB, run the example.m script