On Sat, 7 Jan 2012, thorsten.i.r...@jyu.fi wrote:

>> Thorsten, can you make a test flight and see if the instruments behave as
>> they used to?
>
>
>>> To try it get the vostok-1 branch from my fgdata clone:
>>> git://gitorious.org/~andersg/fg/anders-fgdata.git
>
> If you tell me how to pull only Vostok from your fgdata? I have a GSM
> connection from home and not too much bandwidth... and my GIT knowledge is
> still rather limited.

Ah, sorry. It is actually in fgdata now. So you only need to update 
fgdata. (Hmm.. depending on how recent your local fgdata is that could be 
expensive, though.)

To pull that branch you'd run

git fetch git://gitorious.org/~andersg/fg/anders-fgdata.git vostok-1:vostok-1

The download would not be huge as you'd only need to fetch those commits 
that weren't present in your local fgdata repository.


However, if your fgdata is far behind HEAD you can also just apply the 
important change by hand:

diff --git a/Aircraft/Vostok-1/Systems/Enginespanel.xml 
b/Aircraft/Vostok-1/Syst
index cabc0b9..9faa671 100644
--- a/Aircraft/Vostok-1/Systems/Enginespanel.xml
+++ b/Aircraft/Vostok-1/Systems/Enginespanel.xml
@@ -13,6 +13,19 @@
                 <description> Enginespanel </description>
         </fileheader>

+       <!-- Required input from FlightGear:
+            /position/sea-level-radius-ft mapped to 
ic/sea-level-radius-ft
+            A delay is necessary to give FG time to create the property.
+       -->
+       <channel name="input from FG">
+               <switch name="ic/sea-level-radius-ft">
+                       <default value="0.0"/>
+                       <test logic="AND" value="/position/sea-level-radius-ft">
+                               simulation/sim-time-sec GT 0.1
+                       </test>
+               </switch>
+       </channel>
+
  <!--   That must be aded to set file

         <fdm>

--- End of diff


Cheers,

Anders
-- 
---------------------------------------------------------------------------
Anders Gidenstam
WWW: http://gitorious.org/anders-hangar
      http://www.gidenstam.org/FlightGear/

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to