ArduPilot log analysis web app (ArduPlotter.com)

2,182 views
Skip to first unread message

Christopher Cosmo Rogers

unread,
Mar 17, 2014, 1:56:27 PM3/17/14
to drones-...@googlegroups.com
Hello everyone

I'm currently working on a ArduPilot log analysis web app where users can upload their dataflash logs and get pretty maps and graphs.

A good example log I've been working on is http://arduplotter.com/view/531f561275398ab523179a3b

It's not ready for public release yet I think, but it should work if you want to upload a dataflash log or two (although they may disappear without warning in the next couple of days!)

At the moment I've just made graphs for related values (eg power, gps, etc). If anyone has any suggestions for new graphs comparing different values then please let me know, I'm quite new to the APM world so not too sure what people will find useful and what they won't yet.



I realise this isn't directly related to the APM code, but I'm not trying to advertise my website (yet :) ). Just wondering if anyone has any friendly advice as to what they would want from an app like this, or have any cool ideas I could add!

I am also working on a separate project for my university dissertation which I will probably post about in the not too distant future, using computer vision to track and land on a target using an APM.

Chris

Craig Elder

unread,
Mar 17, 2014, 3:37:15 PM3/17/14
to drones-discuss
Hello Chris

Welcome to drones-discuss.  I know you have been speaking to Kevin about droneshare and the new API for ardupilot and we have been looking into online log analysis ourselves.  It is great to have you doing some development and arduplotter is a great name as well.  I'm not sure where you are planning to go with your site but if there are opportunities for collaboration let's do that.

Cheers,

Craig



--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Randy Mackay

unread,
Mar 18, 2014, 3:07:58 AM3/18/14
to drones-...@googlegroups.com

Chris,

 

     Looks good.  I think the six or so most common failures that people see are on this wiki page which includes details on which fields to look at in the dataflash or tlogs to determine the cause:

            http://copter.ardupilot.com/wiki/common-diagnosing-problems-using-logs/

 

-Randy

--

Andrew Chapman

unread,
Mar 18, 2014, 5:58:24 AM3/18/14
to drones-...@googlegroups.com
Randy, all those are checked for with the Log Analyzer code, which is a python module so can be called from any app or back-end, we shouldn't need to re-implement the same tests elsewhere!

Christopher, for now you can use the code from here, and at some point it will be pulled across to the common ardupilot code repository:

The tests are still pretty naive and it certainly needs a lot more testing, but it is working well for all the logs I have been testing with so far, and is about to be rolled into Mission Planner so it will soon have a lot more thorough testing through there.

I'd really appreciate any contributions you can make to the tests, or happy for you to just use it as is.

Regards,
Andrew

Christopher Cosmo Rogers

unread,
Mar 18, 2014, 6:27:10 AM3/18/14
to drones-...@googlegroups.com
Hi Craig

Yep, I hope to be able to incorporate the new API in the not too distant future. I quite like the name to :)
I'm not sure where I'm planning to go with my site either, I just want it to be as useful as possible. Collaborating sounds like a good idea to me!

Cheers
Chris

Christopher Cosmo Rogers

unread,
Mar 18, 2014, 6:29:54 AM3/18/14
to drones-...@googlegroups.com
Hi Andrew, Randy,

I was going to take a look at those common problems, but as you already have some code that does pass/fail on those common problems and outputs nice xml then I shall use that!
Thanks!

Chris

Christopher Cosmo Rogers

unread,
Mar 18, 2014, 5:13:12 PM3/18/14
to drones-...@googlegroups.com
Well thanks to all of you who have uploaded a log or two, you have raised an issue or two for me. Apparently the PX4 doesn't log in quite the same way....

Also thanks to the person who uploaded the 5mb log, that crashes the server momentarily :)
I've resized the server up a little, hopefully that will sort the problem for now but I think I need to look into doing some optimisations, no reason really why a 5mb file should crash the server (running out of memory on a 512mb server). Also need to look at some way of possibly lazy loading the graphs, as the larger log files crash and or slow down my browser at least!

Cheers
Chris 
Reply all
Reply to author
Forward
0 new messages