DroneePlotter - Drone Flight Log Analysis Tool Works on Web Browser

We are happy to share DroneePlotter -  Drone Flight Log Analysis Tool  with drone comunity to make analyse and sharing easier.

DroneePlotter works on browser not (on server) Just drag and drop the log file . It parses binary log file inside browser instantly with Java scrip, and it works very fast . 

It generates flight graphs automatically , also you can  visualise specific flight data on graph and easily share with others, post on blogs, discussion forms.

To share your analyse with others you need to click UPLOAD button, it will generate unique link based on their md5
which means even another person uploads this file,server will generate the same url.

I hope it will make life easier, and your feebacks ,reviews are very welcome.)

https://plot.dron.ee/

Views: 1365

Comment by 小五 on October 30, 2017 at 5:41am

Well,I mean,I can see nothing in MAP section after I upload the log files

Comment by Tomi Piriyev on October 30, 2017 at 8:11am

 小五 i updated to use GPS data,it was using POS data ,can you check one more time

Comment by Tomi Piriyev on October 30, 2017 at 8:13am

Andrew Tridgell  I added the mavgraph.xml support you can either click enable from the main upload page or dragdrop a custom graph.xml file which will be stored in browser cache
Note that graph is visible in the left side only if you drop/have dropped a log file


Developer
Comment by Andrew Tridgell on October 30, 2017 at 3:50pm

Would you post a large log file and highlight the anomalies in time ?

I just retried the log I tested yesterday and now it works fine. Maybe a bug was fixed?

Supporting MavGraph xmls is on the way.

thanks, much appreciated! I see its there now. A couple of minor errors though. It should only display the first expression for each graph type that matches the log (ie. the expression can be evaluated). It seems to be graphing all the expressions at the moment. The idea is that the XML is able to handle different firmware versions and vehicle types by having multiple expressions.

Would you also post some example fft log files ?

I've put an example input and output here:

http://uav.tridgell.net/Tomi/

On collaboration, what I'd really like to be able to do is incorporate your JS library into other tools. For example, this would be a great addition to ApWeb (see https://github.com/ArduPilot/APWeb). Is it your intention that the JS library be open for re-use by other open source projects?

Cheers, Tridge


Developer
Comment by Andrew Tridgell on October 31, 2017 at 4:01am

I just tried this tool on the 5hr log from here:

https://discuss.ardupilot.org/t/introducing-hybrid-project/21841/3

and I was delighted to find it could handle it in firefox. It did raise the memory usage of the browser to over 8G once I had an accelerometer graph up, but I think that is really good going. This tool seems to be much faster than MAVExplorer. Well done!

Comment by Thomas Stanley-Jones on October 31, 2017 at 8:38am

That's really great.  Love to see improvement in this area.

Comment by Tomi Piriyev on October 31, 2017 at 9:32am

Andrew Tridgell in my tests for the 1.5GB file in the link,it uses 2.5-4GB depending on the browser including latest version of the Firefox,Note that  Safari,MicrosoftEdge works x2 faster(including Chrome) in parsing.Meanwhile I found Firefox Quantum beta (https://www.mozilla.org/en-US/firefox/quantum/) claims x2 speed from its previous version and better memory management checks,tests give unpredictable speed of x2-x0.5 (some times x2 faster ,some times x2 times slower) 

for GraphXML it filters the expressions that exist in the log file,depending on the log file if none of the expressions matches it doesnt show graph on left menu at all.

For fft i want to clarify  you want to also visualize FFT version of the signal or its just already FFTied in the format it needs to be reverselyFFT to the original signal.

For the collaboration,We definitely would like to support all your needs. To make it open-source or not we are discussing internally, meanwhile it is very open to use.

Also i noticed the BARO drift in the hybrid flight we have unpublicized real-time BARO calibration code for the PX4 flight stack,which is a binary search of BARO coeff to adjust it for the gps range,if you are interested i can help to port it to APM


Developer
Comment by Andrew Tridgell on October 31, 2017 at 7:03pm

For fft i want to clarify  you want to also visualize FFT version of the signal or its just already FFTied in the format it needs to be reverselyFFT to the original signal.

It's just the sensor data, so you'd need a javascript FFT library, sorry

For the collaboration,We definitely would like to support all your needs. To make it open-source or not we are discussing internally, meanwhile it is very open to use.

ok, please let me know. This is something we've been looking at doing for APWeb. I'd much rather work with you on improving yours than develop another solution.

It would also be great to incorporate into the system that fnoop has done, see this: https://discuss.ardupilot.org/t/maverick-mavlink-dataflash-web-log-...

I'm a big fan of doing the parsing and graphing in the browser, I think its a better approach than server side. We'll also need to bring in the tlog JS bindings for graphing mavlink telemetry logs.

Cheers, Tridge

Comment by Tomi Piriyev on November 1, 2017 at 1:14pm

Andrew Tridgell

adding js FFT library is not a problem, ISBH FMT packages is shown in the data you sent but not the ISBD.

perhaps better to communicate trough gitter.im or slack for the FFT which can make things faster ?

tlog feels like a sparse version of FMT log file, Does it include some data that FMT log lacks,or it is intended to visualize when FMT log  is absence.

fnoop's work is very nice and color combinations in grafana are beautiful!

Meanwhile, I also added lz4 compression for upload/download of the binary files. lz4 compresses FMT binary file around 50% , which gives x2 faster upload/download speed. Note that compression/decompression speed is almost negligible to upload/download speed.


Developer
Comment by Andrew Tridgell on November 1, 2017 at 1:33pm

adding js FFT library is not a problem, ISBH FMT packages is shown in the data you sent but not the ISBD.

The ISBD is there, you can see it with:

mavlogdump.py 000040.BIN --type ISBD

I suspect your parser doesn't understand the new 'a' format type:

2017-09-22 09:33:08.14: FMT {Type : 249, Length : 207, Name : ISBD, Format : QHHaaa, Columns : TimeUS,N,seqno,x,y,z}

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2017   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service