On Sunday 07 January 2007 19:51, Roy Vegard Ovesen wrote:
> On Sunday 07 January 2007 19:25, gh.robin wrote:
> > > > > You must first check it , because the existing code is working
> > > > > right with  "/Systems/static/pressure-inhg"
> >
> > And if you don't trust me, when i say its working,   look at this
> > http://perso.orange.fr/GRTux/pressure-inhg.jpg
>
> Ok! Now I'm just confused. GĂ©rard is trying to prove
> that "/Systems/static/pressure-inhg" is working by sending a screenshot
> showing "/systems/static/pressure-inhg".
>
> Nick, how did you get it to fall back to "/Systems/..."? Did you use a
> custom instrumentation config file, or did you forget to also update the
> base package (data) from CVS?

Heh.  It is _very_ complicated and the following is from memory as I forget 
exactly what I was doing/sussing.  Basically I made a mess up when I was 
building/installing.  I got my 'plib' build and 'osg' build data's messed up.

When I used the Spitfire model I noticed the VSI wasn't working.  
Investigating then showed I had a '/Systems/' and a '/systems/  branch in the 
properties.  The '/System/' branch _only_ held the value 'pressure-inhg' but 
it was null.  I then saw I also had a /systems/ branch that also 
had 'pressure-inhg' with a value (and lots of other data too).

Hence then how I came to find the typo in the source code.

Speaking in IRC to Vivian, it turned out the Spitfire I was using wasn't the 
latest... that's when I found out I had all my data files and stuff all mixed 
up.  Cleaning this up, the model now does not use that code part, hence why 
it works with the /Systems/.

I wish I could remember what the xml file was that used it.

Nick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to