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

Blackbox estimated data logging time #3988

Open
Remleyfpv opened this issue May 28, 2024 · 2 comments
Open

Blackbox estimated data logging time #3988

Remleyfpv opened this issue May 28, 2024 · 2 comments

Comments

@Remleyfpv
Copy link

Is your feature request related to a problem? Please describe

It would be nice to get an estimated logging time in the blackbox section of BF configurator. So that the user will now how long he can tune before blackbox is full

Describe the solution you'd like

A simpel textbox in the betaflight config window that calculates the datarate (would be cool to see that too in mb/s) of the blackbox logging and looks at the size left of the onboard blackbox storage. And then calculates the estimated logging time.

Describe alternatives you've considered

calculating it myself but thats a hassle with the new optional logging points

Other information

No response

@YarosMallorca
Copy link
Contributor

I'm going to look into this.
Does anyone know how to calculate the space per sample when given a debug log mode?

@haslinghuis
Copy link
Member

Guess this would depend on logging rate, perhaps number of debug fields in the debug and maybe gyro and pid loop time.
Flash device speed (NOR / NAND) and driver optimization also matters for the timing part.
It is also possible to disable certain data included in the log reducing size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants