Skip to content

Releases: redjacketKR/PIDBench

PIDBench v0.9.4 Release Notes

Pre-release

Choose a tag to compare

@redjacketKR redjacketKR released this 19 Sep 12:53
f18d2e8

PIDBench v0.9.4.1 Release Notes - bug out. sorry who downloaded earlier.

PIDBench v0.9.4 Release Notes

It's excited to announce the release of PIDBench v0.9.4, featuring bug fixes and several improvements.

🎨 Improved UI and User Experience

  • Button labels renamed to clearly reflect their functionality
  • Fixed figure toolbar disappearance issue
  • Resolved default file name bug in save dialogues

🔍 Enhanced Zooming Functionality

  • Implemented intuitive mouse click-and-drag zooming
  • Added ability to zoom by entering specific time values and press {ENTER}

🆕 New Features

  • Added Compare Latencies functionality for in-depth analysis across multiple logs

📊 Enhanced Plotting and Analysis

  • Refined PSD, FFT, and Spectrogram plots with improved data handling and visualization
  • Upgraded latency analysis plots with more detailed information and statistics

📁 Improved File Handling

  • Enhanced file selection dialogs and directory management
  • Better integration with config files for remembering last used directories

🛠 General Improvements

  • Improved overall code organization and modularity

📏 New Latency Evaluation Tools

  • Introduced advanced tools for more precise latency analysis and comparison

All users are encouraged to update to this latest version for an enhanced tuning and analysis experience. Your feedback and suggestions are always welcome!

Important Note: If you are upgrading from a version prior to v0.9.3, please completely uninstall the previous version before installing v0.9.4 to ensure all new features work correctly.

New Latency Evaluation Tools
New Latency Evaluation Tools

v0.9.3

v0.9.3 Pre-release
Pre-release

Choose a tag to compare

@redjacketKR redjacketKR released this 17 Sep 14:03
dd90872

📢 PIDBench v0.9.3 is now available! 🚁✨

What's new:

🔧 PIDBench:

  • Step Response plot now normalized for better comparison across different sampling times
  • Fixed issues with 256Hz data appearing artificially better due to high frequency data absence
  • Resolved bugs related to default configuration directory
  • Improved display-related functions for enhanced user experience

🔊 PB-Noise:

  • Updated UI elements for a smoother user experience
  • Added PSD comparison tool

:tools: Installer:

  • Switched from InstallForge to Nullsoft installer to address false positive detections of setup.exe
    (Uninstall previous version and Install this one)

Download the latest version from our GitHub releases page:
https://github.com/redjacketKR/PIDBench/releases/tag/v0.9.3
https://github.com/redjacketKR/PIDBench/releases/download/v0.9.3/PIDBench_v0.9.3_setup.exe
As always, your feedback is appreciated!
Happy flying and tuning! 🎛️🔧

Happy Choosuk (Korean Thanksgiving)!

PIDBench v0.9.3
PIDBench v0.9.3

Update for PIDBench v0.9.2

Pre-release

Choose a tag to compare

@redjacketKR redjacketKR released this 12 Sep 14:10
bd38644

🚀 Exciting Update for PIDBench Users! 🚀

Introducing the Noise Analyzer, a powerful supplemental tool now included with PIDBench!

Noise Analyzer Preview

📊 Key Features:

  • Raw Data Visualization
  • Power Spectral Density (PSD) Analysis
  • Fast Fourier Transform (FFT) Plots
  • Spectrogram Generation
  • Latency Cross-correlation Analysis

🔧 How to Use:

  1. Load your CSV file
  2. Select data fields to analyze
  3. Explore different analysis tabs
  4. Adjust time ranges for detailed examination:
    • Use mouse to select range on main plot (Tab 1)
    • Input precise start/end times for fine-tuning

💡 Perfect for:

  • Identifying noise sources
  • Optimizing filter settings
  • Analyzing gyro data quality
  • Understanding system latencies

This tool complements PIDBench, offering deeper insights into flight data. It's user-friendly yet powerful, designed to enhance the tuning process.

🔗 Get the latest PIDBench release to access this new feature!

Happy analyzing! 🚁📈

PIDBench v0.9.1 Release

Pre-release

Choose a tag to compare

@redjacketKR redjacketKR released this 29 Aug 23:15
5c53b33

PIDBench v0.9.1 Release

I'm pleased to announce the release of PIDBench v0.9.1, featuring several improvements and bug fixes:

Important Setup Note:

⚠️ It is strongly recommended to completely uninstall the previous version before installing v0.9.1 due to package updates.

Key Enhancements:

  • 📁 Relocated configuration file to user's Documents folder, resolving permission issues
  • 🔄 Improved file decoding reliability by switching to BlackBox decoder
  • 👁️ Added Legend On/Off toggle button for easier graph reading
  • 📏 Adjusted default screen size for better visibility
  • 📚 Included external resource links for tuning guides
  • 🐛 Fixed various Numpy-related error messages
  • 🔄 Added Extra Tools (compare Headers of sessions)

Usage Updates:

  1. Select source directory
  2. Click "PROCESS" to analyze files in the listbox
  3. Wait for processing (10-20 seconds for larger files)
  4. Press "PLOT" to visualize results
  5. Use the new Legend toggle as needed

The folder processing button has been removed to streamline the workflow.

Thank you for your continued support and feedback.

PIDBench Main Window

PIDBench (v0.9)

PIDBench (v0.9) Pre-release
Pre-release

Choose a tag to compare

@redjacketKR redjacketKR released this 17 Aug 13:51
9e699b8

How to Use the BBL File Processing Script

  1. Put bbl-process.bat, bbsplit.exe, and blackbox_decode.exe in one folder.
  2. Open Command Prompt, use cd to go to this folder.
  3. Type: bbl-process.bat your_file.bbl
  4. A new folder like 20240824_123456 will appear.
  5. Inside: split .bbl files and matching .csv files.
  6. Check for 🟢 success or 🔴 error messages.
  7. Original .bbl and .event files are auto-deleted.
  8. ⚠️ Always backup your original .bbl file!

Attachment file type: archive
blackbox_tools_executables_batch_command.zip
463.04 KB

Temporary solution.

I compared six different kind of executables and this kinda fit.
This is early version of INAV decoding executable. Newest one is like version 8 but I think it make some trouble.
So use this.

I made simple batch file for your convenience but basically it creates decoding csv file and cleaning up by removing event files
And make the base name the same by inputting ".01" to .Bbl file.

🔄 PIDBench Update Notice 🛠️

Issue Resolved

We have identified and resolved an issue related to file path resolution when processing single files. With this fix, all file operations now utilize full paths, significantly enhancing the application's reliability.

How to Update

To update your installation:

  1. Download the latest PIDBench.exe from the official repository.
  2. Replace the existing file located at C:\Program Files (x86)\redjacketRC\PIDBench\PIDBench.exe with the newly downloaded version.

Details

  • Update Fix: Resolves file path resolution issue.
  • Download Link: PIDBench.exe
  • Installation Path: C:\Program Files (x86)\redjacketRC\PIDBench\PIDBench.exe

We apologize for any inconvenience this issue may have caused. Your patience and feedback are invaluable as they contribute to the ongoing improvement of PIDBench.

Thank you for your support!

🚀 PIDBench User Manual (v0.9)

PIDBench Logo PIDBench Main Window

1. Introduction

PIDBench is a GUI application designed for Rotorflight Blackbox Analysis. It provides tools to process and analyze .bbl (BlackBox Log) files, convert them to CSV format, and visualize step response data for roll, pitch, and yaw axes.

2. Installation

  • Download the PIDBench_v0.9_setup.exe file from the provided source.
  • Run the installer and follow the on-screen instructions.
  • The installer will create a program folder and shortcuts for easy access.

3. Launching the Application

  • After installation, launch PIDBench using the desktop shortcut or from the Start menu.
  • The application will open with its main window divided into three sections:
    • Control Frame (left)
    • Plot Frame (right top)
    • Log Frame (right bottom)

4. Selecting Working Directory

  • Click the "SELECT Logs folder" button to choose the directory containing your .bbl files.
  • The selected directory path will be displayed in the "Logs folder" text box.
  • The application remembers the last used directory across sessions.

5. File Management

  • The listbox in the Control Frame displays .bbl files in the selected directory.
  • Use the "REFRESH" button to update the file list if you add or remove files externally.
  • Select one or multiple files in the listbox for processing.
  • Use "REMOVE selected" to remove selected files from the list (does not delete files from disk).
  • "CLEAR" button empties the entire listbox.

6. Processing Files

  • "PROCESS folder" button processes all .bbl files in the selected directory.
  • "PROCESS selected" button processes only the files selected in the listbox.
  • Processing steps:
    1. Splits multi-session .bbl files into individual sessions.
    2. Converts single flight session .bbl files into CSV format.
    3. The software moves original .bbl files to an "original_bblogs" subdirectory.

7. Generating Plots

  • After processing, click the "PLOT listed" button to generate step response plots.
  • The application will create three subplots for Roll, Pitch, and Yaw axes.
  • Each processed file will be represented by a different colored line on the plots.
  • The plots show the step response over time, with reference lines at y=1 and x=20ms, 100ms.

8. Analyzing Results

  • The application calculates and displays peak values and delay times for each axis and each processed file.
  • It also computes the area between y=1 and each curve, which can be used to compare overall performance.
  • The legend for each plot is located in the lower right corner and can be used to identify which line corresponds to which file.

9. Exporting Results

  • Use the toolbar below the plot for various options:
    • Pan and zoom the plot for detailed inspection.
    • Save the plot as an image file (PNG, JPG, PDF, or SVG).
  • The application automatically suggests a filename based on the current date and "combined step response".

10. Additional Features and Support

  • Access the "About" window from the Help menu for version information and third-party library details.
  • A donation link is available for users who wish to support the development.
  • The Log Frame at the bottom provides real-time feedback on application operations and any errors encountered.
  • For uninstallation, use the "Uninstall PIDBench" shortcut in the Start menu or the Windows Control Panel.

Tips for Effective Use

  • Ensure your .bbl files are in the selected directory before processing.
  • For best results, process files from similar flight conditions or tuning sessions together.
  • Use the legend and color coding to compare performance across different configurations.
  • Pay attention to the peak values and delay times to assess the responsiveness of your craft.
  • The area calculation can help identify the most optimal tune among multiple files.

Troubleshooting

  • If files are not appearing in the listbox, use the "REFRESH" button.
  • Check the Log Frame for any error messages if processing or plotting fails.
  • If the application fails to start, ensure your Windows version is compatible (Windows XP and later are supported).
  • For very large files or many files, allow sufficient time for processing and plotting. If .bbl files are very large and/or in a slightly different format, use external converters like blackbox splitter and decoder.exe (available on GitHub).

Remember, PIDBench is a tool to assist in your tuning process. Always combine these analytical results with real-world flight testing for the best outcomes. Filter out noise for a good and fast response.


RJ thank the RF development team very much for their work.