mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update NavyGroup.lua
This commit is contained in:
parent
5d40091947
commit
b294ef10c8
@ -2174,7 +2174,7 @@ function NAVYGROUP:GetHeadingIntoWind(Offset, vdeck)
|
|||||||
local intowind = (540 + (windto + math.deg(theta) )) % 360
|
local intowind = (540 + (windto + math.deg(theta) )) % 360
|
||||||
|
|
||||||
-- Debug info.
|
-- Debug info.
|
||||||
self:I(self.lid..string.format("Heading into Wind: vship=%.1f, vwind=%.1f, WindTo=%03d°, Theta=%03d°, Heading=%03d", v, vwind, windto, theta, intowind))
|
self:T(self.lid..string.format("Heading into Wind: vship=%.1f, vwind=%.1f, WindTo=%03d°, Theta=%03d°, Heading=%03d", v, vwind, windto, theta, intowind))
|
||||||
|
|
||||||
return intowind, v
|
return intowind, v
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user