8efe7c1b71
this fixes a problem where two different locations could both be mapped to the same disk block in the terrain/*.DAT files. That meant that pre-filled terrain on the microSD card would sometimes require a download in flight. It also means that a RTL with loss of GCS could sometimes fly through a region with no terrain data available Other changes in this patch: - allow for a 2cm discrepancy in the lat/lon of the grid corners. This is needed to allow for slightly different floating point rounding in tools that pre-generate terrain data to load on the microSD - added TERRAIN_OPTIONS parameter to allow the user to disable attempts to download new terrain data. This is mostly useful for testing to validate a terrain generator |
||
---|---|---|
.. | ||
AP_Terrain.cpp | ||
AP_Terrain.h | ||
TerrainGCS.cpp | ||
TerrainIO.cpp | ||
TerrainMission.cpp | ||
TerrainUtil.cpp |