Skip to content

Minor Bug Fixes and Feature Improvements

Compare
Choose a tag to compare
@GaryKeeble GaryKeeble released this 18 Oct 09:13
· 912 commits to master since this release

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.