dji-log-parser's Introduction
dji-log-parser's People
Forkers
1320nation lovesmall orinolabs justinmiller62 ll777 coovtech gradymorgan tonymorris gavintw dillten wildellie ng-mohit yapalexei devkont pedroscaff aerobota datar-ai dairejpwalsh vmitchell85 smaorus serdartaylan jouwei sergeyvolkov unleashlive iromeo maxime-jullien denschmitz nadahardji-log-parser's Issues
issue with dji Fly app
Hi
this is a superb tool (BTW, downloading directly is different from npm...)
I tried it on DJI fly app txt files (not DJI Go 4).
There was one issue with images, and I found the way to correct it in index.js:
DJIParser.prototype.isImage = function(buffer, offset) {
// var header = buffer.readUInt32(offset);
// return header == 3774863615; // JFIF header 0xFF 0xD8 0xFF 0xE0
/* becomes */
var header = buffer.readUInt16(offset);
return header == 65496; // JFIF header 0xFF 0xD8
}
However, I have another issue: I don't trap any APP_TIP or APP_WARN event. I know they exist, but I can't find them...
Congrat anyway
No setup.py file
can't work fine with new version
Hi , thank you for this repository. now, I can't use it to decode the new log file.
can you tell me, how to decode it? thanks.
for example:
control code : 0x20
frame len : 9
control code : 0x39
frame len : 48
control code : 0x19
frame len : 28
How do you output to JSON as in the examples folder?
I'm trying to use the parser to output to JSON as in the examples folder script. The example itself doesn't appear to output a JSON file?
Feature Request: utc datetime
Hello.
I would like to request the current timestamp availability, is possible.
Thanks.
Feature request: RECOVERY packets parser
Hello.
That would be great, if you could provide RECOVERY packets type parser.
Thanks.
Does not work with the Mini 2 or Air 2S
This project seemed like a great thing to check out. I see it hasn't been updated in years, so I suspect it's probably a moot point posting here, but I figured it's worth a shot ๐ค
I was not able to get this to work with recent DJI flight record files. Specifically, the Mini 2 and Air 2S.
Does anyone know if other open-source libraries to parse these files?
I am documenting my journey attempting to parse these files at https://github.com/TheRobBrennan/dji-flight-record-review - where I added the following scripts to explore dji-log-parser:
djilogparser:failed-experiment
- This launches the dji-log-parser example at failed-experiments/dji-log-parser/examples/example.js
Feature request : DETAILS packet parser
First of all, many thanks to share your awesome work !
According to this source : http://www.phantompilots.com/threads/dji-log-converter.43319/page-2, It seems to be a DETAILS section in the log. Il would be great to parse this section .
Field list :
DETAILS.substreet
DETAILS.street
DETAILS.city
DETAILS.area
DETAILS.isFavorite
DETAILS.isNew
DETAILS.needUpload
DETAILS.recordLineCount
DETAILS.updateTime
DETAILS.longitude
DETAILS.latitude
DETAILS.totalDistance
DETAILS.totalTime
DETAILS.maxHeight
DETAILS.maxHorizontalSpeed
DETAILS.maxVerticalSpeed
DETAILS.photoNum
Phantom 4 compatibility
Hello,
It seem's to not be compatible with Phantom 4 FlightRecord. How to make it compatible ?
Thanks,
Regards.
Noob
Sorry, pls ignore.
Flytrex CSV
Nice work you have done, but I can't figure out how to create a CSV that comply with the Flytrex CSV "standard", the CSV have to look something like this:
latitude,longitude,altitude(feet),ascent(feet),speed(mph),distance(feet),time(millisecond),datetime(utc),satellites,voltage(v),max_altitude(feet),max_ascent(feet),max_speed(mph),max_distance(feet)
14.5429408058,-90.5219997482,4800.20565465,336.2861,20.9425874509,300.40625434,334100.0,2016-07-23 22:50:45.288000,19,15.284,4801.18990665,337.270352,20.9425874509,300.40625434
14.5429477414,-90.5220156858,4800.53373865,336.614184,20.7372902822,306.540670157,334300.0,2016-07-23 22:50:45.590000,19,15.284,4801.18990665,337.270352,20.9425874509,306.540670157
It has to contain this data:
latitude 14.5429408058
longitude -90.5219997482
altitude(feet) 4800.20565465
ascent(feet) 336.2861
speed(mph) 20.9425874509
distance(feet) 300.40625434
time(millisecond) 334100.0
datetime(utc) 2016-07-23 22:50:45.288000
satellites 19
voltage(v) 15.284
max_altitude(feet) 4801.18990665
max_ascent(feet) 337.270352
max_speed(mph) 20.9425874509
max_distance(feet) 300.40625434
I reviewed your code but I'm unable to find the get
functions/methods for some of the required column values.
Documentation
Hello,
do you have any documentation of all available fields from the log? I would like to know what's "deform" and all it's options, what are the units of some of the fields etc.
Thanks,
WK
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.