mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Noise reducing measures
This commit is contained in:
@@ -409,7 +409,11 @@ end
|
||||
-- @param #number knots Speed in knots.
|
||||
-- @return #number Speed in m/s.
|
||||
UTILS.KnotsToMps = function( knots )
|
||||
return knots / 1.94384 --* 1852 / 3600
|
||||
if type(knots) == "number" then
|
||||
return knots / 1.94384 --* 1852 / 3600
|
||||
else
|
||||
return 0
|
||||
end
|
||||
end
|
||||
|
||||
--- Convert temperature from Celsius to Farenheit.
|
||||
|
||||
Reference in New Issue
Block a user