module load terrain
The terrain module passes downloads and manages DTEM (Digital Terrain Elevation Model) datasets and adds terrain height functionality to the map module. It also allows the APM to download terrain data of the surrounding area so that it has an approximate idea of it’s height above ground.
Whilst this module does require an Internet connection to download the nearby SRTM tiles, it will cache them on the local hard drive for offline use.
Once loaded with
module load terrain, the module will automatically
download, cache and send small SRTM tiles to the APM’s internal memory
(the SD card on the Pixhawk, for example).
The status of the module can be shown by entering
To get the terrain height at a particular location, use
terrain check <lat> <lon>`