Coder Social home page Coder Social logo

Comments (7)

lvauvillier avatar lvauvillier commented on July 17, 2024 1

Ok, this is an old log version 2 format that produces this error. The info section size is 350 bytes instead of 400.
I'll try to fix it tomorrow.

from dji-log-parser.

lvauvillier avatar lvauvillier commented on July 17, 2024 1

Fixed. Thanks!

from dji-log-parser.

MAVProxyUser avatar MAVProxyUser commented on July 17, 2024 1

@ZaneM26 https://github.com/MAVProxyUser/UserPortrait/blob/master/Fly%20Record.zip

from dji-log-parser.

lvauvillier avatar lvauvillier commented on July 17, 2024

@MAVProxyUser, I've obtained the dataset but, could you indicate which log files are causing the crash?

from dji-log-parser.

MAVProxyUser avatar MAVProxyUser commented on July 17, 2024

@MAVProxyUser, I've obtained the dataset but, could you indicate which log files are causing the crash?

I’ve been bulk processing them with the find command. I’ll see if I can augment it to print the file name:

find /path/to/dump/FlightLogs/ -type f -name '*.txt' -exec bash -c '
filepath="$1"
basepath="/path/to/dump/FlightLogs/"
relpath="${filepath#$basepath}"
dir="./ParsedLogs/$(dirname "$relpath")"
mkdir -p "$dir"
base="$dir/$(basename "${filepath%.txt}")"
mkdir -p "$base"
pushd "$base"
/path/to/dump/dji-log-parser/target/debug/dji-log-parser "$filepath" --images "image%d.jpeg" --output "records.json"
popd
' bash {} ;

from dji-log-parser.

ZaneM26 avatar ZaneM26 commented on July 17, 2024

@MAVProxyUser can you share the rb files you mentioned (record_data_v1.rb, etc.)?

from dji-log-parser.

ZaneM26 avatar ZaneM26 commented on July 17, 2024

@MAVProxyUser thank you!

from dji-log-parser.

Related Issues (7)

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.