On Sat, 2007-01-13 at 05:35 +0100, Georg Vollnhals wrote:
> Dave Perry schrieb:
> > On Fri, 2007-01-12 at 17:41 -0600, Donn Washburn wrote:
> >
> >
> >> It seems that the CVS version I have will not start the engine.
> >> It cranked and then quit. The
> >> space bar doesn't work
> >> The mixture and throttle was full scale This a Linux system
> >>
> >
> > Don,
> >
> > Is your fgfs compile from recent cvs or from several months ago?
> > I get your symptoms with a recent pa24 running under the 0.9.10 WinXP
> > binary (or even with months old cvs). Try replacing both
> > pa24-electrical.nas and /Models/pa24.nas with the attached versions that
> > I use with the 0.9.10 WinXP binaries.
> >
> >
> > ------------------------------------------------------------------------
> Hi Dave,
> just to inform you that it has been and still is the same problem with a
> fresh CVS source compile (SimGear/FlightGear-OSG) and a new CVS data
> update. All instrument settings, the levers and the starter-key work
> fine with the mouse but NOT the switches (main ... etc) so that it is
> unusable.
> Your nasal patches solve the problem, I just made a little testflight.
> This is on OpenSuse 10.2 x86_64.
Hi Donn,
Very strange??? The only changes in the two files that you say work
are
1) replace
setlistener("/sim/signals/fdm-initialized", init_electrical);
with
settimer(init_electrical, 0);
at the end of pa24-electrical.nas, and
2) back out 4 instances of [nn, mm] in aircraft.light.new, replacing
them with just the ordered pair nn, mm.
The first makes sure that init_electrical is called independent of the
fdm-initialized. This allows the electrical system to be initialized on
most systems running fgfs from before Melchior Franz added the
fdm-initialized call. The second variable change in aircraft.light.new
was made by Melchior about a month ago.
You must have an older fgfs binary that is being used instead of your
new compile when you launch fgfs.
If you still have the two cvs nas files, check the log window for
"Nasal Electrical System Initialized" when you cannot start the pa24.
If it is not there, the setlistener is not calling init_electrical
because the value of fdm-initialized is never changed. Another check
would be to use the pa24-electrical.nas file with settimer and the cvs
version of pa24.nas together. If you are running a binary from before
Melchior's data format change, the brackets will cause a number of nasal
errors.
I updated SimGear, source, and data from the osg branch just last night.
Since I was checking that pa24 recent changes were correct, I deleted
the pa24 before the updates and compiles. All is working here.
--
Dave Perry
-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users