Comments (6)
Excellent I was just logging back in to check. I did notice some seemed fine. Will git pull and try again!
from dji-log-parser.
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.
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.
Ok, my lat/lng to DMS conversion didn't work for negative values. Fix in progress.
from dji-log-parser.
@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.
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)
- Unable to parse file: InfoParseError("invalid utf-8 sequence of 1 bytes from index 8 at 0x12e") HOT 7
- Error: failed to fill whole buffer HOT 7
- called `Option::unwrap()` on a `None` value HOT 6
- Missing record types HOT 7
- OSD data parsed incorrectly HOT 1
- I can't decode some logs HOT 5
- C bindings HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dji-log-parser.