dronekit / droneshare

DroneShare is a shared repository of drone missions built using DroneKit-Cloud
http://www.droneshare.com/
Apache License 2.0
84 stars 66 forks source link

Unable to upload flight: "Invalid location data was found in that log, ignoring" #133

Closed hsteinhaus closed 9 years ago

hsteinhaus commented 9 years ago

The flight itself looks pretty normal in mavflightview, LogAnalyser has some (justified) warnings, but not regarding GPS, no ERRs in log. Here is the file: https://www.dropbox.com/s/7sqh24v7h2p8a3s/iris-uavcan-tridge-350.BIN?dl=0

Note: I am testing a new kind of GNSS module currently in this copter - so it is well possible that something here is different than usual.

geeksville commented 9 years ago

thanks for the report - I'll take a look later today.

geeksville commented 9 years ago

The problem was that the first GPS message had a very bogus time (somewhere in the year 2400s). I'm changing the server to throw out such values.

2908-07-23 14:27:54.21: GPS {Status : 3, TimeMS : 1988889216, Week : 48446, NSats : 8, HDop : 3.79, Lat : 51.9564111, Lng : 12.5992658, RelAlt : 0.0, Alt : 125.66, Spd : 0.09, GCrs : 33.88, VZ : -0.0509948730469, T : 18699}

mrpollo commented 9 years ago

thanks @geeksville!

hsteinhaus commented 9 years ago

Thanks for the info about the wrong time info in the first message after fix. I will try to find out where it comes from.

hsteinhaus commented 9 years ago

Can confirm that it works now, the file with invalid time uploads without any trouble. In between, I fixed the reason for the wrong timestamps in APM as well: https://github.com/diydrones/ardupilot/pull/1642-