Empty KML+GPX files from Plane logs?

Anyone else having this problem?

I have a dataflash log (5mb+) which seems valid, I can graph it and see all the values and the track on the map, but the KML files it generates are empty other than the waypoints, empty GPX files too. No error messages.

I thought it might be a problem with the latest MP so I rolled back to 1.2.86 and 1.2.85, re-downloaded the dataflash log, same deal. I also get the same result if I try to create the KML afterwards from the 'Create KML' button on the dataflash tab of the Flight Data screen.

-------------

log2gpx.py attached here as an edit, because you can't attach files to replies - log2gpx.py

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    please try the latest beta MP

    help > update beta

  • I also have these empty kml files with APM Copter 3.1 rc7. It is apparent that the GPS messages format changed since APM:: Copter 3.0.1 and mission planner is not able to cope with this change, even if the new format is described in the header of the log file.

  • Not sure if it's a bug, or just an incompatibility between v2.76 and the current version of Mission Planner 1.2.87.

    Anyway, I really needed to get a KML or GPX file out from my log to do some image geo-referencing, so I wrote a little python script to parse the dataflash log into a gpx file. 

    I've attached it as a link in the edited original post. It's hard-coded to my file but you can easily tweak it for your own needs by just changing the two variables at the top of the file. timefudgeSecs is the difference between your camera and APM's timecodes. Run the command and redirect the output to make your GPX file. It worked for me, but no guarantees it works in all cases, it was just a quick hack to solve it for me today

  • There seems to be a bug in APM plane 2.76. As I am also experiencing this.

  • Forgot to mention: log is from APM:Plane v2.76

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…