Update Airboss.lua

- Wind is calculated at 15 m (not 50 m)
This commit is contained in:
Frank 2022-05-20 20:16:45 +02:00
parent d5fb75fe43
commit 7df3946189

View File

@ -11210,7 +11210,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.
@ -11220,8 +11220,8 @@ function AIRBOSS:GetWind( alt, magnetic, coord )
-- Current position of the carrier or input. -- Current position of the carrier or input.
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 15 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