AP_Terrain: fixed comment on function

This commit is contained in:
Andrew Tridgell 2014-07-25 07:56:22 +10:00
parent b8b235c33c
commit 7bc6561f2a
1 changed files with 2 additions and 5 deletions

View File

@ -181,11 +181,8 @@ bool AP_Terrain::height_above_terrain(const Location &loc, float relative_home_a
}
/*
return estimated height above the terrain given a relative-to-home
altitude (such as a barometric altitude) for a given location
return false if terrain data is not available either at the given
location or at the home location.
alternative interface to height_above_terrain where
relative_altitude is taken from loc.alt (in centimeters)
*/
bool AP_Terrain::height_above_terrain(const Location &loc, float &terrain_altitude)
{