Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FC blackbox integration #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Jan 8, 2023

  1. Add FC blackbox integration

    Extra function for some FC not have on board storage/tf card and don't want to buy open lager
    it will start dump the serial port data to file depend on FC setting (by checking the "/blackbox/dump_tty_`date '+%Y%m%d-%H%M%S'`.log", file should be 0KB before ARM)
    - when MSP is enable at betaflight, will stop dump serial port data and remove file
    - when serial port set for "blackbox logging", serial data will save at "/blackbox/dump_tty_`date '+%Y%m%d-%H%M%S'`.log"
    
    enable "Fast serial" and disable some blackbox headers to save logging overhead, enough for basic filter/pid tuning
    Betaflight setting :
    blackbox_disable_bat = ON
    blackbox_disable_mag = ON
    blackbox_disable_alt = ON
    blackbox_disable_rssi = ON
    blackbox_disable_acc = ON
    blackbox_disable_gps = ON
    
    
    blackbox_disable_pids = ON
    blackbox_disable_rc = ON
    blackbox_disable_setpoint = OFF
    blackbox_disable_gyro = OFF
    blackbox_disable_debug = OFF
    blackbox_disable_motors = ON
    
    blackbox_sample_rate = 1/4
    blackbox_device = SERIAL
    serial 1 128 230400 57600 0 230400
    
    example blackbox log by airunit :
    https://drive.google.com/file/d/1P9ec8A5KaPk-B-X7xyCkKzkZl2Nvf1eA/view?usp=share_link
    singlag committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    5839839 View commit details
    Browse the repository at this point in the history