Coder Social home page Coder Social logo

Comments (6)

MAVProxyUser avatar MAVProxyUser commented on July 17, 2024 1

Excellent I was just logging back in to check. I did notice some seemed fine. Will git pull and try again!
image

from dji-log-parser.

MAVProxyUser avatar MAVProxyUser commented on July 17, 2024

Is is possible to add SN, and file path to the EXIF data too? (to make it easier to match up photos with their owners later)

from dji-log-parser.

lvauvillier avatar lvauvillier commented on July 17, 2024

Yes i noticed this too. I checked several logs and the value of longitude / moment_pic_longitude was 0 in the info section, so i can't fix it as this is the recorded info. Can you check on your side if this is the case too?

A workaround can be to use the first point of the track.

from dji-log-parser.

lvauvillier avatar lvauvillier commented on July 17, 2024

Ok, my lat/lng to DMS conversion didn't work for negative values. Fix in progress.

from dji-log-parser.

MAVProxyUser avatar MAVProxyUser commented on July 17, 2024

@lvauvillier it seemed to chew through almost all of the dataset. There were a few crashes at the end of the run. I'll have to pinpoint the file names again. Here is the crash if it is useful to you:

thread 'main' panicked at dji-log-parser/src/lib.rs:208:59:
range start index 398220 out of range for slice of length 261632
stack backtrace:
   0:     0x560b0122bebb - std::backtrace_rs::backtrace::libunwind::trace::h3926e05c1d1f3b6d
                               at /build/rustc-60UC9b/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
   1:     0x560b0122bebb - std::backtrace_rs::backtrace::trace_unsynchronized::h9f5691494ac25ae6
                               at /build/rustc-60UC9b/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x560b0122bebb - std::sys_common::backtrace::_print_fmt::h7e6bb7b81bf214f4
                               at /build/rustc-60UC9b/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x560b0122bebb - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hcf688c88e28c91b4
                               at /build/rustc-60UC9b/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x560b01261d80 - core::fmt::rt::Argument::fmt::h59a542682908b618
                               at /build/rustc-60UC9b/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/core/src/fmt/rt.rs:142:9
   5:     0x560b01261d80 - core::fmt::write::hce91e70849a27dee
                               at /build/rustc-60UC9b/rustc-1.75.0+dfsg0ubuntu1~bpo0/library/core/src/fmt/mod.rs:1120:17
   6:     0x560b01220fed - std::io::Write::write_fmt::h0bba58d3b1b495e9

from dji-log-parser.

lvauvillier avatar lvauvillier commented on July 17, 2024

Thanks @MAVProxyUser. It seems like the pointer for the info section is outside the file itself. I'd appreciate having the file name to take a look.

from dji-log-parser.

Related Issues (8)

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.