GithubHelp home page GithubHelp logo

Comments (9)

thenickdude avatar thenickdude commented on June 18, 2024

blackbox_decode support is in but not tested yet, blackbox_render support still to come.

from blackbox-tools.

fiveangle avatar fiveangle commented on June 18, 2024

I came here to submit the same. Nice :)

-=dave

from blackbox-tools.

fiveangle avatar fiveangle commented on June 18, 2024

Actually, it looks like this isn't the same: my thought is to replicate the virtual current sensor calculation from CF based on the BB data and report it in the decode/render tools. This would be independent of any actual current sensor data. For implementations where current sensor data is in the BB logs, it would also serve as a mechanism to hone the realtime virtual current sensor algorithm by comparison to the actual logs.

Is that the scope you intended, or should I submit an new issue ?

-=dave

from blackbox-tools.

thenickdude avatar thenickdude commented on June 18, 2024

Yeah that's exactly what I intend, there's no other way to do that.

from blackbox-tools.

fiveangle avatar fiveangle commented on June 18, 2024

👍

-=dave

from blackbox-tools.

digitalentity avatar digitalentity commented on June 18, 2024

Hi Is there a timeframe for emulating virtual current sensor data in blackbox-render and blackbox-decode? @thenickdude, should I look into this myself, test it and open a PR?

from blackbox-tools.

thenickdude avatar thenickdude commented on June 18, 2024

I'll implement that tonight @digitalentity!

from blackbox-tools.

thenickdude avatar thenickdude commented on June 18, 2024

I've now implemented a simulated current meter and simulated cumulative energy meter in blackbox_decode with the --simulate-current-meter option in d112737 (it's the CF algorithm, and it's tunable with the --sim-current-meter-scale and --sim-current-meter-offset options).

If you have a physical current meter, it also calculates cumulative energy usage in milliamp-hours for you using those ADC measurements.

from blackbox-tools.

digitalentity avatar digitalentity commented on June 18, 2024

Thanks! Can this be done for blackbox_render as well?
EDIT: Compiled and tested blackbox_decode, works perfectly and energyCumulativeVirtual is very close to reality.

from blackbox-tools.

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.