]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_controlInput.cpp
Make yasim accept the launchbar and hook properties. They are not tied to anything...
[flightgear.git] / src / FDM / UIUCModel / uiuc_controlInput.cpp
index 40a89f27ea945ce96e3049435033ed4298124a78..1d5e969e5edec4d574f96548e131651e01844160 100644 (file)
@@ -177,6 +177,21 @@ void uiuc_controlInput()
                                  time);
         }
     }
+
+  if (flap_pos_input)
+    {
+      double flap_pos_input_endTime = flap_pos_input_timeArray[flap_pos_input_ntime];
+      if (Simtime >= flap_pos_input_startTime && 
+          Simtime <= (flap_pos_input_startTime + flap_pos_input_endTime))
+        {
+          double time = Simtime - flap_pos_input_startTime;
+          flap_pos = uiuc_1Dinterpolation(flap_pos_input_timeArray,
+                                         flap_pos_input_dfArray,
+                                         flap_pos_input_ntime,
+                                         time);
+        }
+    }
+
   return;
 }