Ardupilot2/libraries/AP_Terrain
Andrew Tridgell 8efe7c1b71 AP_Terrain: fixed bug in disk offset calculation
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
2020-05-06 15:34:57 +09:00
..
AP_Terrain.cpp AP_Terrain: fixed bug in disk offset calculation 2020-05-06 15:34:57 +09:00
AP_Terrain.h AP_Terrain: fixed bug in disk offset calculation 2020-05-06 15:34:57 +09:00
TerrainGCS.cpp AP_Terrain: fixed bug in disk offset calculation 2020-05-06 15:34:57 +09:00
TerrainIO.cpp AP_Terrain: fixed bug in disk offset calculation 2020-05-06 15:34:57 +09:00
TerrainMission.cpp AP_Terrain: Fix AP_GPS.h include 2019-06-18 10:02:05 +10:00
TerrainUtil.cpp AP_Terrain: fixed bug in disk offset calculation 2020-05-06 15:34:57 +09:00