MissionPlanner
MissionPlanner copied to clipboard
Previously stored .grid files does not open in later versions of MP, added "laps" xml-parameter
Issue details
Please describe the problem, or desired feature
Hi!
Previously stored .grid files does not open in latest updated version of MP:

There is an issue with the xml definition, by which a new parameter is added: < laps >200< /laps >
If this is not available in the previous files, it will not open. Previous versions will open if this is added.
The error report is shown below:

Thanks and best regards
can you include the grid file?
what the error is saying is something is set to 0 in the grid file, and its not a valid value for that field. just need to figure out what field it is
at a guess the alt is 0, and should be >=5
grid_removed_coordinates.grid.txt
Thanks for the quick feedback, Michael.

Enclosed is a test that the error message in my MP-install. Running latest version (updated today). It does open after adding the "laps" - parameter to the schema.
yes, in this work flow, it seems as alt is indeed 0, but the default value from the waypoint view sets the grid UI. Ie, the alt parameter in that case is always 0 in the .grid files.
Thanks again