AP_Scripting: removed terrain home correction

This commit is contained in:
Andrew Tridgell 2022-01-31 15:35:06 +11:00
parent 7a9ac498cf
commit 3b0b7b4bf2
2 changed files with 2 additions and 3 deletions

View File

@ -1457,9 +1457,8 @@ function terrain:height_terrain_difference_home(extrapolate) end
-- desc -- desc
---@param loc Location_ud ---@param loc Location_ud
---@param corrected boolean
---@return number|nil ---@return number|nil
function terrain:height_amsl(loc, corrected) end function terrain:height_amsl(loc) end
-- desc -- desc
---@return integer ---@return integer

View File

@ -173,7 +173,7 @@ singleton AP_Terrain alias terrain
singleton AP_Terrain method enabled boolean singleton AP_Terrain method enabled boolean
singleton AP_Terrain enum TerrainStatusDisabled TerrainStatusUnhealthy TerrainStatusOK singleton AP_Terrain enum TerrainStatusDisabled TerrainStatusUnhealthy TerrainStatusOK
singleton AP_Terrain method status uint8_t singleton AP_Terrain method status uint8_t
singleton AP_Terrain method height_amsl boolean Location float'Null boolean singleton AP_Terrain method height_amsl boolean Location float'Null
singleton AP_Terrain method height_terrain_difference_home boolean float'Null boolean singleton AP_Terrain method height_terrain_difference_home boolean float'Null boolean
singleton AP_Terrain method height_above_terrain boolean float'Null boolean singleton AP_Terrain method height_above_terrain boolean float'Null boolean