All Projects → betaflight → Blackbox Log Viewer

betaflight / Blackbox Log Viewer

Licence: gpl-3.0
Interactive log viewer for flight logs recorded with blackbox

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Blackbox Log Viewer

Jetbrains Discord Integration
Discord rich presence integration for all JetBrains IDEs
Stars: ✭ 247 (-1.98%)
Mutual labels:  hacktoberfest
Mapstore2
Modern webmapping with OpenLayers, Leaflet and React
Stars: ✭ 251 (-0.4%)
Mutual labels:  hacktoberfest
Modelicastandardlibrary
Free (standard conforming) library from the Modelica Association to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
Stars: ✭ 250 (-0.79%)
Mutual labels:  hacktoberfest
Say Their Names Ios
Open-source platform that raises awareness of the injustice and often forgotten names of racial inequality.
Stars: ✭ 251 (-0.4%)
Mutual labels:  hacktoberfest
Discoverdotnet
A web site that helps you discover awesome .NET open source and community resources
Stars: ✭ 252 (+0%)
Mutual labels:  hacktoberfest
Freesql
🦄 .NET orm, Mysql orm, Postgresql orm, SqlServer orm, Oracle orm, Sqlite orm, Firebird orm, 达梦 orm, 人大金仓 orm, 神通 orm, 翰高 orm, 南大通用 orm, Click house orm, MsAccess orm.
Stars: ✭ 3,077 (+1121.03%)
Mutual labels:  hacktoberfest
Tools ui 1c
Универсальные инструменты 1С для управляемых форм
Stars: ✭ 250 (-0.79%)
Mutual labels:  hacktoberfest
Nytimes App
🗽 A Simple Demonstration of the New York Times App 📱 using Jsoup web crawler with MVVM Architecture 🔥
Stars: ✭ 246 (-2.38%)
Mutual labels:  hacktoberfest
Silsilah
A genealogy/family tree application, built with Laravel.
Stars: ✭ 246 (-2.38%)
Mutual labels:  hacktoberfest
Asciidoctor Intellij Plugin
AsciiDoc plugin for products on the IntelliJ platform (IDEA, RubyMine, etc)
Stars: ✭ 250 (-0.79%)
Mutual labels:  hacktoberfest
Statiq.framework
A flexible and extensible static content generation framework for .NET.
Stars: ✭ 251 (-0.4%)
Mutual labels:  hacktoberfest
Gitmoji Changelog
A changelog generator for gitmoji 😜
Stars: ✭ 250 (-0.79%)
Mutual labels:  hacktoberfest
Bootstrap
The missing components for your favorite front-end framework.
Stars: ✭ 2,700 (+971.43%)
Mutual labels:  hacktoberfest
Awesome Hacker News
Awesome Hacker News: a collection of awesome Hacker News apps, libraries, resources and shiny things.
Stars: ✭ 250 (-0.79%)
Mutual labels:  hacktoberfest
Zencart
Zen Cart® is a full-function e-commerce application for your website.
Stars: ✭ 250 (-0.79%)
Mutual labels:  hacktoberfest
Goshimmer
GoShimmer implementation of Coordicide
Stars: ✭ 244 (-3.17%)
Mutual labels:  hacktoberfest
Next Seo
Next SEO is a plug in that makes managing your SEO easier in Next.js projects.
Stars: ✭ 4,149 (+1546.43%)
Mutual labels:  hacktoberfest
Abibliadigital
A RESTful API for Bible
Stars: ✭ 251 (-0.4%)
Mutual labels:  hacktoberfest
Windows
Development repository for Chef Cookbook windows
Stars: ✭ 251 (-0.4%)
Mutual labels:  hacktoberfest
Kube Prometheus
Use Prometheus to monitor Kubernetes and applications running on Kubernetes
Stars: ✭ 3,607 (+1331.35%)
Mutual labels:  hacktoberfest

Betaflight Blackbox Explorer

Latest version Build Status Quality Gate Status Build Status License: GPL v3

Main explorer interface

This tool allows you to open logs recorded by Betaflight's Blackbox feature in your web browser. You can seek through the log to examine graphed values at each timestep. If you have a flight video, you can load that in as well and it'll be played behind the log. You can export the graphs as a WebM video to share with others.

Installation

Standalone

Download the installer from Releases.

Notes

Windows users

The minimum required version of Windows is Windows 8.

MacOS X users

Changes to the security model used in the latest versions of MacOS X 10.14 (Mojave) and 10.15 (Catalina) mean that the operating system will show an error message ('"Betaflight\ Blackbox\ Explorer.app" is damaged and can’t be opened. You should move it to the Trash.') when trying to install the application. To work around this, run the following command in a terminal before installing: sudo xattr -rd com.apple.quarantine /Applications/Betaflight\ Blackbox\ Explorer.app.

Unstable Testing Versions

Unstable testing versions of the lates builds of the Betaflight Blackbox Explorer for most platforms can be downloaded from here.

Be aware that these versions are intended for testing / feedback only, and may be buggy or broken.

Usage

Click the "Open log file/video" button at the top right and select your log file and your flight video (if you recorded one).

You can scroll through the log by clicking or dragging on the seek bar that appears underneath the main graph. The current time is represented by the vertical red bar in the center of the graph. You can also click and drag left and right on the graph area to scrub backwards and forwards.

Syncing your log to your flight video

The blackbox plays a short beep on the buzzer when arming, and this corresponds with the start of the logged data. You can sync your log against your flight video by pressing the "start log here" button when you hear the beep in the video. You can tune the alignment of the log manually by pressing the nudge left and nudge right buttons in the log sync section, or by editing the value in the "log sync" box. Positive values move the log toward the end of the video, negative values move it towards the beginning.

Customizing the graph display

Click the "Graph Setup" button on the right side of the display in order to choose which fields should be plotted on the graph. You may, for example, want to remove the default gyro plot and add separate gyro plots for each rotation axis. Or you may want to plot vbat against throttle to examine your battery's performance.

Native app build via NW.js

Development

  1. Install node.js
  2. Install yarn: npm install yarn -g.
  3. Change to project folder and run yarn install.
  4. Run yarn start to build & run the debug flavor.

App build and release

The tasks are defined in gulpfile.js and can be run through yarn:

yarn gulp <taskname> [[platform] [platform] ...]

List of possible values of <task-name>:

  • dist copies all the JS and CSS files in the ./dist folder.
  • apps builds the apps in the ./apps folder [1].
  • debug builds debug version of the apps in the ./debug folder [1].
  • release zips up the apps into individual archives in the ./release folder [1].

[1] Running this task on macOS or Linux requires Wine, since it's needed to set the icon for the Windows app (build for specific platform to avoid errors).

Setting up and building on a Mac

(The GitHub Desktop application should come to the front and create a repository (not necessarily where you want it). The blackbox-log-viewer repository (folder) should appear under the list of local repositories. You can find your local repository location on your mac using the 'Locate in Finder' command GitHub Desktop It can be moved somewhere more else, but you'll then need to tell Github where you're moved it to.)

Open Terminal.app and install or update homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

install node 8.x and yarn, if already installed, agree to update them

brew install [email protected] yarn

Change Terminal's working directory wherever you put blackbox-log-viewer folder; easiest way is to type 'cd ' in Terminal then drag the blackbox-log-viewer folder from the Finder to the terminal window. Or use a terminal command like

cd ~/mydirectorypath/blackbox-log-viewer

install dependencies into that folder (ignoring many confusing messages) with:

yarn install

finally build the DMG itself, which will end up in blackbox-log-viewer/release/, with:

yarn gulp release

Build or release app for one specific platform

To build or release only for one specific platform you can append the plaform after the task-name. If no platform is provided, only for the platform you are builing from will be build.

  • MacOS X use yarn gulp <task-name> --osx64
  • Linux use yarn gulp <task-name> --linux64
  • Windows use yarn gulp <task-name> --win32

You can also use multiple platforms e.g. yarn gulp <taskname> --osx64 --linux64. Other platforms like --win64 and --linux32 can be used too, but they are not officially supported, so use them at your own risk.

macOS DMG installation background image

The release distribution for macOS uses a DMG file to install the application. The PSD source for the DMG backgound image can be found in the root (dmg-background.png). After changing the source, export the image to PNG format in folder ./images/.

Flight video won't load, or jumpy flight video upon export

Some flight video formats aren't supported by Chrome, so the viewer can't open them. You can fix this by re-encoding your video using the free tool Handbrake. Open your original video using Handbrake. In the output settings, choose MP4 as the format, and H.264 as the video codec.

Because of Google Bug #66631, Chrome is unable to accurately seek within H.264 videos that use B-frames. This is mostly fine when viewing the flight video inside Blackbox Explorer. However, if you use the "export video" feature, this bug will cause the flight video in the background of the exported video to occasionally jump backwards in time for a couple of frames, causing a very glitchy appearance.

To fix that issue, you need to tell Handbrake to render every frame as an intraframe, which will avoid any problematic B-frames. Do that by adding "keyint=1" into the Additional Options box:

Handbrake settings

Hit start to begin re-encoding your video. Once it finishes, you should be able to load the new video into the Blackbox Explorer.

License

This project is licensed under GPLv3.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].