Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 40 million developers.Sign up
-fixed dialog box not opening when selecting file
-added debug variable for plotting in spectrograms
-added spectrogram presets for debug variables
-fixed a minor bug in importing
I was reluctant to release this version yet because it is only ready for Windows users. This is because there are so many changes "under the hood" and the Mac version has some significant differences from the Windows version, which will take more time to implement. I haven't forgot about Linux users either. Also added here is a Chinese version named 'PIDtoolbox_v0.30_win_zh_CN' and 'src_v0.30_win_zh_CN' (thanks to https://github.com/DusKing1 for editing the tooltips and compiling that version!).
Below is a list of the major changes/fixes:
-reorganized main control panel
-added preset options/dropdown to the spectrogram tool
-estimated phase delay includes hardware LPF delay
-step response tool includes a user dropdown menu to specify minimum rate cutoff for analyses
-New flight statistics tool, showing % of each axis used during flight, with one's rates overlaid. also includes selection to see rate of change of stick travel (degs/s/stick travel) which describes how fast one's rates speedup or slow down as you move the stick.
-Fixed "save plot" to only create a folder when a "save plot" button is selected
-File selection now remembers the last directory in which you selected a log file, such that the "select file" button opens there. One can override this by simply editing or deleting the "logfileDir.txt" file.
-Added detailed "tool tips" that appear when you place the cursor over various buttons, inputs or select portions of the screen
-Fixed several bugs related to hanging during loading files
-added option to facilitate faster processing and plotting of spectrograms and step response plots. Namely, a "subsampling" dropdown menu which allows the user to select the degree of subsampling, where lower = faster, with a minor loss in reliability (ideally one would select the lowest option if the log file is large, in which case little subsampling is needed for a reliable estimate; alternatively, if the log file is short, meaning there is less data to work with, higher subsampling can be selected for more reliable results).
-step plots now show standard deviation using shading/fill
-fixed issue with step plots being plotted on top of other windows if brought to front
-added link/button to online user guide/wiki
-OPTIONAL: If you find Mac version 'PIDtoolbox_v0.22_osx' slow, you can try 'PIDtoolbox_v0.22_osx_2017b' instead, which uses an earlier version of Matlab (2017b). This will require reinstalling its enclosed runtime installer file. It shouldn't matter which version of os x you're running for either version.
-fixed an issue in PTthrSpec.m where the spectrograms would plot the incorrect x-axis scale (%throttle) for log files in which 100% throttle was never reached. This would go unnoticed as long as the log had at least one instance of full throttle.
-complete reorganization of windows, break outs for each function
-numerical summaries of results overlaid on top of plots for detailed comparisons
-4 independent spectral analyses plots, including 2D plots
-new PID error analysis includes full distributions and mean abs error x stick deflection plots
-new step response analysis based on wiener deconvolution method
-plots BF's RPM data along with motor signals
-Windows and Mac versions available
-added Pterm spectrogram
-added scale/color bars for spectrograms
-added 2 new 'linear' colormaps
-fixed data cursor to display correct values on spectrogram
-fix some minor bugs with saving figs when in 'expand' mode
Fixed a bug in PTimport.m. Matlab's xlsread() function was slow and incompatible with some versions of windows. Now uses fread() for text info, and csvread() for numeric data, and is much faster.