Git Product home page Git Product logo

Comments (11)

thenickdude avatar thenickdude commented on September 9, 2024

How the hell are you getting decode times so slow on Windows 10? It takes 2.15 seconds to decode the log you attached on my machine (macOS Catalina)

from blackbox-tools.

LuisDiazUgena avatar LuisDiazUgena commented on September 9, 2024

sorry, i miss spelled that. The whole process (bot reciving file, passing to plasmatree, decoding it, composing it and sending back) takes about that time.

from blackbox-tools.

thenickdude avatar thenickdude commented on September 9, 2024

What is the actual runtime of blackbox_decode on the Raspberry Pi if you call it directly without using your wrapper software? There's no reason why the runtime should approach 20 seconds, let alone exceed it.

from blackbox-tools.

LuisDiazUgena avatar LuisDiazUgena commented on September 9, 2024

ubuntu@ubuntu:~/bots/plasmatreebot/plasmatreeUnix/PID-Analyzer-master/blackbox-tools$ obj/blackbox_decode /home/ubuntu/bots/plasmatreebot/downloadDir/539011/btfl_004.bbl
Decoding log '/home/ubuntu/bots/plasmatreebot/downloadDir/539011/btfl_004.bbl' to '/home/ubuntu/bots/plasmatreebot/downloadDir/539011/btfl_004.01.csv'...
^\Quit (core dumped)

After 3 minutes this happened :(

from blackbox-tools.

thenickdude avatar thenickdude commented on September 9, 2024

Can you run it on your target under GDB and collect the stacktrace of the crash?

from blackbox-tools.

LuisDiazUgena avatar LuisDiazUgena commented on September 9, 2024

can you explain how please?

from blackbox-tools.

thenickdude avatar thenickdude commented on September 9, 2024

You should be able to run "gdb blackbox_decode" then "run yourlogfile.bbl". When it crashes it should print a stacktrace, or else you can enter "bt" to print one out. (You'll probably need to install a package to get gdb)

from blackbox-tools.

LuisDiazUgena avatar LuisDiazUgena commented on September 9, 2024

Thanks so much.

It's been runing for over an hour now and it doesn't seems to be working properly:

image

it does nothing:

image

I'm going to delete this and start over. Maybe something is wrong? I didn't see any errors while doing make

from blackbox-tools.

LuisDiazUgena avatar LuisDiazUgena commented on September 9, 2024

it's seems that something was wrong with the make. It's working like a charm now! takes lees than 10 seconds to do it (i was typing somewhere else and didn't notice exactly)

This is the output for make:

image

from blackbox-tools.

mikeller avatar mikeller commented on September 9, 2024

@LuisDiazUgena: You might also want to look at https://github.com/betaflight/blackbox-tools - there are some recent changes / improvements in there that are not reflected in this repository.

from blackbox-tools.

LuisDiazUgena avatar LuisDiazUgena commented on September 9, 2024

yeah, i know. I got their last version, thanks for sharing anyway!

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.