Releases: betaflight/blackbox-log-viewer
Minor changes
- Remove PID scaling
- Add new modes and features
Minor Bug Fixes
Correct Log Sync to Time entry field.
Add additional 3.1 parameters
Reorganise PID other fields
Minor Bug Fixes
Observations during BF3.1.0 Release Candidate Testing.
- Bump version to v2.5.9
- DSHOT protocol list order revised on log header.
- DSHOT1200 protocol added to log header.
Minor Bug Fixes
Some fixes in response to user observations.
- Bump version to v2.5.8
- Fix to Analyser display going blank for users using logging to onboard flash memory.
- Always start with the values table hidden; pressing key 'T' will toggle the table; pressing the toolbar button will put it back at the bottom of the graph.
- Fix Issue #36; viewer was not parsing version number correctly for filter scaling. Refactored functions to use library semver.
- UI Overhall; better support for smaller screens, toolbar will collapse into menu's when there's not enough room.
- BF3.1 Compatibility, corrected filter values showing zero and removed PID controller type from header display.
- Add Dshot to protocol definitions on header dialog.
- Update for gyro scaling in BF3.1.0; scaling is now handled by flight controller
Notes
- The analyser display can go blank when using log files uploaded from flash memory. The problem occurs if you change log from the drop-down menu before displaying the analyser. Then when you do display the analyser, and zoom in, the analyser goes blank. This version should cure this.
Minor Bug Fixes and Feature Improvements
Minor BUG fix updates and Feature Improvements
1. Correct case on Mode_x.png icons to prevent file not found on user settings dialog. 2. Update of video export vendor function from cleanflight/master; many thanks to @thenickdude. This is for users experiencing difficulties (linux?) generating video exports. Issue #30. 3. Added filename extension .BFL to auto-detect large log files; thanks to @mikeller 4. Mousewheel controls update as per feature request #31; 5. Add remove all button to graph config dialog #34; this is a port of the original viewer feature added by StewLG. 6. Added new log header parameters for second gyro notch filter. 7. Removed x100 frequency scaling for BF 3.0.1 to keep in sync with latest BF 8. Minor HTML code tidy-up for header dialog. 9. Add user setting to invert yaw on stick display. Off is normal; On is inverted. 10. Add user setting to apply hanning window to analyser FFT. 11. Add snap points to analyser zoom bars; to make it easier to get back to zoom level x1 12. Scale the colour gradient based upon zoom level so that zooming the fft doesn't push the bars into the red. 13. Improve graph background, add transparent gradient for better contrast.Notes
Log file extension
BB Viewer attempts to determine the file type you are opening by examining the file extension first. Where no file extension is used in the name, then BB Viewer will guess the type of file; which is usually fine for small log files (<10MB). For log files larger than 10MB, then BB Viewer guesses they are video files and tries to load it (and fails because it is not a video)
So as a tip, it's best to use a file extension when you save your logs.
The file extensions that are automatically recognised are: -
- .TXT, .CFL, .BFL and .LOG as log files,
- .AVI, .MOV, .MP4, .MPEG as video files
- .JSON as workspace backups
If it is not one of those extensions, it takes a guess on the type by file size (if file-size < 10MB then Log file else its a video);
Mousewheel Improvements
As you are probably already aware, scrolling the mouse wheel whilst the mouse pointer is over the graph will move the timeline forwards and backwards: -
- Scrolling moves the timeline,
- Scrolling whilst holding the key, zooms the timeline
- Scrolling whilst holding the key, speeds up the zooming of the timeline.
But now, thanks to suggestions from Joshua Bardwell, the mouse wheel functionality has been extended...
With the mouse pointer over a field in the graph legend...
- Scrolling will dynamically adjust the SMOOTHING for the field.
- Scrolling whilst holding the key,adjusts the ZOOM for the field
- Scrolling whilst holding the key, adjusts the EXPO for the field.
With the mouse pointer over the field group heading and then scrolling the mouse-wheel will adjust all fields within the group at the same time.
Finally, if you "click" the middle mouse button, then the dynamic settings go back to the values you first set in the graph config dialog when choosing the fields. Again, clicking on a single field will reset just that field, clicking on the group header will reset all pens within the group.
So it is no longer necessary to keep going into the graph config dialog to adjust the values; just use the mouse wheel...
The smoothing, zooming and expo dynamic changing above do not affect workspaces so you can always go back to your preferred settings by re-selecting the workspace.
You will also notice now that to scroll the whole page using the mouse-wheel, you must move the pointer off both the graph and legend areas (e.g move the pointer to the toolbar area and then scroll the wheel.
Grids
TIP 1: It is easier to see the effect of the zooming and expo adjustment if the graph has the grid displayed... to display a grid for a field, then left-click a field and the grid will be shown for that field.
TIP 2: After you have selected a grid to display (using TIP 1); pressing the 'G' key will quickly toggle the grid on/off.
Field Labelling
Some minor field name relabelling.
- Version updated to 2.5.6
- rcCommands[] fields re-labelled as setpointRate[] fields to reflect their actual use as the setpoints into the PID controllers.
- debug[] fields for debug mode "NOTCH" corrected to gyro_preNotch[] as per revision in RC14.
Betaflight Rate Updates
Minor code cleanups and re-scaling of rate calculations (for Betaflight v3.0.0 RC12).
- Version updated to 2.5.5
- Fixed #27 selecting rcCommand[all] will now scale pens individually.
- Updated rate calculation to match new rates in Betaflight v3.0.0 RC12.
- Updated Analyser window start/end times to allow for logs that start after or cross over the 5 min boundary (for those logging using a switch).
- Corrected Log Sync Forward/Backwards buttons (thanks Joshua Bardwell for finding that one); the graph window now updates immediately after button is pressed.
- Removed Obsolete parameters from header.
Minor Improvements
Mainly User Interface Tweaks.
- Version number updated to 2.5.4
- Zoom Sliders attached to analyser window rather than graph window. See Issue #23
- Tooltips adjusted for better readability (changed colour and position); Window scrollbars corrected when run as Chrome App #18, #19 and #20.
- Added Icon and page title for users running in a browser window.
- Increased the size of the analyser window filter text when shown in fullscreen mode;
Patch Update for Notch Filter Widths
- Version number increased to 2.5.3
- Patch to correct the notch filter widths displayed on the analyser window. Range is now only visible when the cutoff frequency is above 0.
Minor Bug Fixes and Analyser Tweaks
Some fixes and modifications resulting from user suggestions.
- Version updated to 2.5.2
- Bugfix #13 ; changing log file with analyser maximised causes analyser to shrink back to normal size but doesn't update the button on the tool banner.
- Added scooter to analyser display window; holding SHIFT key whilst moving mouse over analyser window will show the frequency under the mouse. Suggestion #14.
- Hide frequency labels for unused filters (e.g. if gyro_notch_hz is set to 0 (un-used) then don't show line for it on analyser window (de-clutter the window).
- Hide frequency parameter labels for Dterm when analysing a Yaw field (as there is no D) and visa versa, only display Yaw LPF frequency parameter when on Yaw fields.
- Notch filter lines on analyser window show the width of the notch from center to +/- cut-off frequency.
- User can now choose part of log to analyse if they don't want to examine whole log (which is the default). Mark the start of the analyser window using key 'I' and the end of the analyser using key 'O' (for In/Out). Analysed portion of the log is highlighted in the same way as video export feature.
- Some spelling corrections.
- Added independent zoom controls to analyser window (when in fullscreen mode). Can now zoom in the frequency range so that you can ignore higher frequencies.
- Amended tooltip default behaviour to "hover" only; to prevent tooltips sticking 'on' the page.