mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Change to wind measure for Skipper
Previous value 50m produced an incorrect heading and strength based on the actual wind over deck.
This commit is contained in:
parent
f68d3209ac
commit
f5b25370b0
@ -11639,7 +11639,7 @@ end
|
|||||||
|
|
||||||
--- Get wind speed on carrier deck parallel and perpendicular to runway.
|
--- Get wind speed on carrier deck parallel and perpendicular to runway.
|
||||||
-- @param #AIRBOSS self
|
-- @param #AIRBOSS self
|
||||||
-- @param #number alt Altitude in meters. Default 50 m.
|
-- @param #number alt Altitude in meters. Default 15 m. (change made from 50m from Discord discussion from Sickdog)
|
||||||
-- @return #number Wind component parallel to runway im m/s.
|
-- @return #number Wind component parallel to runway im m/s.
|
||||||
-- @return #number Wind component perpendicular to runway in m/s.
|
-- @return #number Wind component perpendicular to runway in m/s.
|
||||||
-- @return #number Total wind strength in m/s.
|
-- @return #number Total wind strength in m/s.
|
||||||
@ -11662,7 +11662,7 @@ function AIRBOSS:GetWindOnDeck(alt)
|
|||||||
zc=UTILS.Rotate2D(zc, -self.carrierparam.rwyangle)
|
zc=UTILS.Rotate2D(zc, -self.carrierparam.rwyangle)
|
||||||
|
|
||||||
-- Wind (from) vector
|
-- Wind (from) vector
|
||||||
local vw=cv:GetWindWithTurbulenceVec3(alt or 50)
|
local vw=cv:GetWindWithTurbulenceVec3(alt or 15)
|
||||||
|
|
||||||
-- Total wind velocity vector.
|
-- Total wind velocity vector.
|
||||||
-- Carrier velocity has to be negative. If carrier drives in the direction the wind is blowing from, we have less wind in total.
|
-- Carrier velocity has to be negative. If carrier drives in the direction the wind is blowing from, we have less wind in total.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user