BetaFlight Black Box Log Analysis - cornellmotionstudio/DylanDrone GitHub Wiki

How to analyze BetaFlight Black Box logs on Dylan.

Here is a presentation about the process and results behind analyzing a few Betaflight Black Box logs on Dylan: https://cornell.box.com/s/j3ekegidhy0s2wui5ospf09gnyaysccz

Required Software (download the latest version):

Flight Controller Setup

Open up BetaFlight Configurator, then plug a USB-C cable into Dylan's FC(flight controller) and your computer. BetaFlight Configurator should automatically recognize Dylan.

Plug a USB-C cable into Dylan, and open the "Blackbox window" to ensure the settings are configured as per the image below:

The following guide is a good reference for finishing up the configuration of the drone: https://oscarliang.com/blackbox/

Black Box analysis:

With a .csv of the Black Box exported, the following Jupyter notebook can be used for analysis of Black Box logs: https://github.com/MotionStudioCornell/DylanDrone/blob/master/blackbox/BlackBoxAnalysis.ipynb

In the case of the Jupyter Notebook above, the following .csv file was analyzed: https://github.com/MotionStudioCornell/DylanDrone/blob/master/blackbox/3D_Printed_Runaway.csv

In addition to the 3D_Printed_Runaway.csv, the following files were also obtained and analyzed in the presentation linked above: