From 5ce7d5534258693532fb17d014fa435a9470cda3 Mon Sep 17 00:00:00 2001 From: janodesbois Date: Fri, 25 Oct 2013 23:48:03 +0200 Subject: [PATCH 1/3] FPS2KT and KT2FPS added to Nasal/global.nas --- Nasal/globals.nas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Nasal/globals.nas b/Nasal/globals.nas index 1413a8e23..d7bba2886 100644 --- a/Nasal/globals.nas +++ b/Nasal/globals.nas @@ -14,6 +14,9 @@ var M2NM = 1 / NM2M; var KT2MPS = 0.5144444444; # knots to m/s var MPS2KT = 1 / KT2MPS; +var FPS2KT = 0.5924838012958964; # fps to knots +var KT2FPS = 1 / FPS2KT; + var LB2KG = 0.45359237; # pounds to kg var KG2LB = 1 / LB2KG; From 403ca2f439a5da90359228dbcc61b3ef41501a4c Mon Sep 17 00:00:00 2001 From: janodesbois Date: Fri, 25 Oct 2013 23:53:45 +0200 Subject: [PATCH 2/3] bug #202 fgdata correction: velocities/u,v and wbody-fps are now only ECEF velocities in body axis, yasim planes using this as TAS were changed to use instrumentation/airspeed-indicator/true-speed-kt, with the according factor change. --- Aircraft/Instruments-3d/primus-1000/MFD/mfd-text.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Aircraft/Instruments-3d/primus-1000/MFD/mfd-text.xml b/Aircraft/Instruments-3d/primus-1000/MFD/mfd-text.xml index f92f91edd..80a93af7a 100644 --- a/Aircraft/Instruments-3d/primus-1000/MFD/mfd-text.xml +++ b/Aircraft/Instruments-3d/primus-1000/MFD/mfd-text.xml @@ -394,8 +394,7 @@ Primus 1000 MFD hotspots number-value - velocities/uBody-fps - 0.59248380 + instrumentation/airspeed-indicator/true-speed-kt %03.0f From fed49956e6a086b226f5e89213a683c8e6aed876 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Mon, 28 Oct 2013 12:35:47 +0100 Subject: [PATCH 3/3] IOrules: add writeable cache directory (for downloaded data) --- Nasal/IOrules | 1 + 1 file changed, 1 insertion(+) diff --git a/Nasal/IOrules b/Nasal/IOrules index a67bcf3da..71d2f677f 100644 --- a/Nasal/IOrules +++ b/Nasal/IOrules @@ -33,6 +33,7 @@ READ ALLOW $FG_SCENERY/* WRITE ALLOW /tmp/*.xml WRITE ALLOW $FG_HOME/*.sav WRITE ALLOW $FG_HOME/*.log +WRITE ALLOW $FG_HOME/cache/* WRITE ALLOW $FG_HOME/Export/* WRITE ALLOW $FG_HOME/state/*.xml WRITE ALLOW $FG_HOME/aircraft-data/*.xml