Code Monkey home page Code Monkey logo

Comments (5)

ledvinap avatar ledvinap commented on August 27, 2024 3

@albert0ly: I'd gladly review your PR that will make "blackbox" behave like "back box"

from betaflight.

albert0ly avatar albert0ly commented on August 27, 2024 1

Sorry to say, if you call it "blackbox" let it behave like "black box". Overwrite old records with new ones. No much use of stale records. Otherwise call it not "black box" but "log for turning"

from betaflight.

ledvinap avatar ledvinap commented on August 27, 2024

Flash erase is slow (up to seconds). It would be necessary to buffer BB data during this time.

from betaflight.

bvandevliet avatar bvandevliet commented on August 27, 2024

That's a valid point and perhaps buffering introduces additional performance drawbacks. Just thinking out loud here.. Let's say we reserve xx% of storage to be free at all times and have the erasing algorithm running at all times until that xx% (so also when disarmed and not recording blackboxes). Could that work reliably?

from betaflight.

ledvinap avatar ledvinap commented on August 27, 2024

It will be possible, but considerable code changes would be necessary. IIRC BF firmware simply uses flash as one large block, always appending data at the end.

BLACKBOX ERASE mode is available, but not that useful.

Any volunteer?

from betaflight.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.