Update Airboss.lua

- Wind is calculated at 15 m (not 50 m)
This commit is contained in:
Frank 2022-05-20 20:15:11 +02:00
parent d169d60d8d
commit 61f3b87dae

View File

@ -11249,7 +11249,7 @@ end
--- Get wind direction and speed at carrier position. --- Get wind direction and speed at carrier position.
-- @param #AIRBOSS self -- @param #AIRBOSS self
-- @param #number alt Altitude ASL in meters. Default 50 m. -- @param #number alt Altitude ASL in meters. Default 15 m.
-- @param #boolean magnetic Direction including magnetic declination. -- @param #boolean magnetic Direction including magnetic declination.
-- @param Core.Point#COORDINATE coord (Optional) Coordinate at which to get the wind. Default is current carrier position. -- @param Core.Point#COORDINATE coord (Optional) Coordinate at which to get the wind. Default is current carrier position.
-- @return #number Direction the wind is blowing **from** in degrees. -- @return #number Direction the wind is blowing **from** in degrees.
@ -11260,7 +11260,7 @@ function AIRBOSS:GetWind( alt, magnetic, coord )
local cv = coord or self:GetCoordinate() local cv = coord or self:GetCoordinate()
-- Wind direction and speed. By default at 50 meters ASL. -- Wind direction and speed. By default at 50 meters ASL.
local Wdir, Wspeed = cv:GetWind( alt or 50 ) local Wdir, Wspeed = cv:GetWind( alt or 15 )
-- Include magnetic declination. -- Include magnetic declination.
if magnetic then if magnetic then