Skip to content

Releases: betaflight/blackbox-log-viewer

Minor Bug Fixes

01 Mar 13:29
Compare
Choose a tag to compare

Correct Log Sync to Time entry field.
Add additional 3.1 parameters
Reorganise PID other fields

Minor Bug Fixes

15 Jan 00:22
Compare
Choose a tag to compare

Observations during BF3.1.0 Release Candidate Testing.

  1. Bump version to v2.5.9
  2. DSHOT protocol list order revised on log header.
  3. DSHOT1200 protocol added to log header.

Minor Bug Fixes

03 Jan 14:45
Compare
Choose a tag to compare

Some fixes in response to user observations.

  1. Bump version to v2.5.8
  2. Fix to Analyser display going blank for users using logging to onboard flash memory.
  3. 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.
  4. Fix Issue #36; viewer was not parsing version number correctly for filter scaling. Refactored functions to use library semver.
  5. UI Overhall; better support for smaller screens, toolbar will collapse into menu's when there's not enough room.
  6. BF3.1 Compatibility, corrected filter values showing zero and removed PID controller type from header display.
  7. Add Dshot to protocol definitions on header dialog.
  8. Update for gyro scaling in BF3.1.0; scaling is now handled by flight controller

Notes

  1. 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

18 Oct 09:13
Compare
Choose a tag to compare

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

10 Sep 22:52
Compare
Choose a tag to compare

Some minor field name relabelling.

  1. Version updated to 2.5.6
  2. rcCommands[] fields re-labelled as setpointRate[] fields to reflect their actual use as the setpoints into the PID controllers.
  3. debug[] fields for debug mode "NOTCH" corrected to gyro_preNotch[] as per revision in RC14.

Betaflight Rate Updates

09 Sep 08:45
Compare
Choose a tag to compare

Minor code cleanups and re-scaling of rate calculations (for Betaflight v3.0.0 RC12).

  1. Version updated to 2.5.5
  2. Fixed #27 selecting rcCommand[all] will now scale pens individually.
  3. Updated rate calculation to match new rates in Betaflight v3.0.0 RC12.
  4. 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).
  5. Corrected Log Sync Forward/Backwards buttons (thanks Joshua Bardwell for finding that one); the graph window now updates immediately after button is pressed.
  6. Removed Obsolete parameters from header.

Minor Improvements

22 Aug 23:44
Compare
Choose a tag to compare

Mainly User Interface Tweaks.

  1. Version number updated to 2.5.4
  2. Zoom Sliders attached to analyser window rather than graph window. See Issue #23
  3. Tooltips adjusted for better readability (changed colour and position); Window scrollbars corrected when run as Chrome App #18, #19 and #20.
  4. Added Icon and page title for users running in a browser window.
  5. Increased the size of the analyser window filter text when shown in fullscreen mode;

Patch Update for Notch Filter Widths

15 Aug 11:12
Compare
Choose a tag to compare
  1. Version number increased to 2.5.3
  2. 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

15 Aug 08:14
Compare
Choose a tag to compare

Some fixes and modifications resulting from user suggestions.

  1. Version updated to 2.5.2
  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.
  3. Added scooter to analyser display window; holding SHIFT key whilst moving mouse over analyser window will show the frequency under the mouse. Suggestion #14.
  4. 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).
  5. 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.
  6. Notch filter lines on analyser window show the width of the notch from center to +/- cut-off frequency.
  7. 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.
  8. Some spelling corrections.
  9. 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.
  10. Amended tooltip default behaviour to "hover" only; to prevent tooltips sticking 'on' the page.

Header Updates and New Analyser

13 Aug 01:02
Compare
Choose a tag to compare

This is a maintenance release.

  1. Updated version number.
  2. Modified header dialog to include new header fields for Betaflight V3.0.0 RC6 (Notch filters/RC interpolation etc).
  3. Status bar now shows gyro/pid/motor sync values (e.g. 250us 4k/2k/SYNCED or 250us 4k/4k/32k).
  4. Accelerometer range extended from 3G to 16G to prevent graph clipping on high powered craft.
  5. Thanks to Rav-Rav, a new enhanced analyser function has replaced the old dynamic one; this analyser is static but shows the noise for the whole log file in far greater detail.
  6. When using Betaflight debug mode feature (from the cli), debug fields on the viewer will be shown with their relevant field name, range and scaling; the debug_mode is logged in the header too (BF3.0.0 and later).