GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mengchaoheng/PX4_ulog_plottools: A MATLAB toolbox for parsing PX4 ulog flight data and generating plots, which can completely replace flight review.

BranchesTags
Open more actions menu

Latest commit

 

History

71 Commits
71 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
results
results
 
 
scripts
scripts
 
 
tools/uv
tools/uv
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
PlotToFile.m
PlotToFile.m
 
 
PlotToFile_before_2025.m
PlotToFile_before_2025.m
 
 
README.md
README.md
 
 
add_standard_background.m
add_standard_background.m
 
 
add_virtual_fifo_topic_data.m
add_virtual_fifo_topic_data.m
 
 
apply_tailsitter_attitude_fix.m
apply_tailsitter_attitude_fix.m
 
 
apply_tailsitter_rate_fix.m
apply_tailsitter_rate_fix.m
 
 
apply_tailsitter_rate_sp_fix.m
apply_tailsitter_rate_sp_fix.m
 
 
csv_topics_to_d.m
csv_topics_to_d.m
 
 
draw_fft_analysis.m
draw_fft_analysis.m
 
 
draw_spec_analysis.m
draw_spec_analysis.m
 
 
draw_status_band.m
draw_status_band.m
 
 
expand_fifo_topic.m
expand_fifo_topic.m
 
 
get_flight_mode_intervals.m
get_flight_mode_intervals.m
 
 
get_fw_intervals.m
get_fw_intervals.m
 
 
get_vtol_state_intervals.m
get_vtol_state_intervals.m
 
 
load_data_main.m
load_data_main.m
 
 
lookup_pwm_func.m
lookup_pwm_func.m
 
 
plot_setpoint_response.m
plot_setpoint_response.m
 
 
plot_style.m
plot_style.m
 
 
plot_style_manager.m
plot_style_manager.m
 
 
pyproject.toml
pyproject.toml
 
 
tailsitter_R_adapt.m
tailsitter_R_adapt.m
 
 
test_plot_style_manager.m
test_plot_style_manager.m
 
 
testso3.m
testso3.m
 
 
uv.lock
uv.lock
 
 

Repository files navigation

PX4_ulog_plottools

About

This is a tiny MATLAB plotting tool for PX4 ULog data, inspired by matulog. It allows you to customize and visualize the signals you are interested in. This tool has been tested on macOS and Windows 10, using MATLAB. Early versions can be obtained from SCUT-DuctedFan.

Requirements

  1. MATLAB

The Python environment is managed automatically by the project. No separate Python or pyulog installation is required.

Usage

  1. Clone or download this repository.
  2. Copy your .ulg files to /data

Environment setup

For the first use, initialize the required environment.

[KEY]: The setup script must be run from the project root directory PX4_ulog_plottools (the folder that contains scripts/), not from inside scripts/. It only has to be run once; the environment it creates is reused on every later run.

Windows:

cd PX4_ulog_plottools

.\scripts\setup_env.ps1

Linux:

cd PX4_ulog_plottools

./scripts/setup_env.sh

macOS:

cd PX4_ulog_plottools

./scripts/setup_env_macos.sh

If PowerShell refuses to run the script, allow it for the current terminal only and retry:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
  1. Open load_data_main.m in MATLAB and modify the User Configuration Area:
% --- User Configuration Area ---------------------------------------------------------
% Specify filename here (can be relative path 'data/09_49_18' or absolute path)
% [KEY]: If left empty (i.e. specifiedFileName = '';), a dialog will pop up for selection when the script runs.
specifiedFileName = 'data/09_49_18'; % Supports with or without extension

Where 09_49_18 is the file name of ulog.

  1. Run the main plotting script plot_setpoint_response.m.

Result

An example of plotting the flight log of a dual tailsitter:

About

A MATLAB toolbox for parsing PX4 ulog flight data and generating plots, which can completely replace flight review.

Resources

Readme
Activity

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.