[Flightgear-devel] Re: Help with Multiple Instances

2005-12-07 Thread kella001
Also, I got a tip concerning the views to use the --view-offset 
parameter, but I tested it out just using a command line such as:

c:\Program Files\FlightGear\bin\win32fgfs.exe --fg-root=c:\Program 
Files\FlightGear\data --view-offset=-45

and the view didn't change at all.  I tried putting the value in () 
and  but nothing worked.  Is my syntax wrong or am I leaving out a 
necessary parameter or what?  It seems pretty straight forward but is 
producing no change.  I used the --fov parameter to mess around with 
it and it worked fine, but nothing on the view offset.  Thanks

-Ryan


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Help with Multiple Instances

2005-12-07 Thread Curtis L. Olson

[EMAIL PROTECTED] wrote:

Also, I got a tip concerning the views to use the --view-offset 
parameter, but I tested it out just using a command line such as:


c:\Program Files\FlightGear\bin\win32fgfs.exe --fg-root=c:\Program 
Files\FlightGear\data --view-offset=-45


and the view didn't change at all.  I tried putting the value in () 
and  but nothing worked.  Is my syntax wrong or am I leaving out a 
necessary parameter or what?  It seems pretty straight forward but is 
producing no change.  I used the --fov parameter to mess around with 
it and it worked fine, but nothing on the view offset.  Thanks
 



For setting up slaved visual channels, here are some of the options I 
have used:


--enable-game-mode (--enable-fullscreen depending on glut vs. sdl)
--prop:/sim/menubar/visibility=false
--prop:/sim/ai/enabled=false (prevents the ai ATC text at the top of the 
screen.)
--prop:/sim/ai-traffic/enabled=false (prevents strange planes from 
flying across a single view)

--prop:/sim/rendering/bump-mapping=false
--fov=35
--prop:/sim/view/config/heading-offset-deg=-35
--prop:/sim/view/config/pitch-offset-deg=3
--native-fdm=socket,in,60,,5505,udp
--native-ctrls=socket,in,60,,5506,udp
--fdm=null


Regards,

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] RE: Help with Multiple Instances

2005-12-07 Thread Ryan Kellar

For setting up slaved visual channels, here are some of the options I 
have used:

--enable-game-mode (--enable-fullscreen depending on glut vs. sdl)
--prop:/sim/menubar/visibility=false
--prop:/sim/ai/enabled=false (prevents the ai ATC text at the top of the 
screen.)
--prop:/sim/ai-traffic/enabled=false (prevents strange planes from 
flying across a single view)
--prop:/sim/rendering/bump-mapping=false
--fov=35
--prop:/sim/view/config/heading-offset-deg=-35
--prop:/sim/view/config/pitch-offset-deg=3
--native-fdm=socket,in,60,,5505,udp
--native-ctrls=socket,in,60,,5506,udp
--fdm=null


Regards,

Curt.

Could you explain in a little more detail some of what these options do such
as fdm=null, bump-mapping, etc?  Also, using these options how would you
output the fdm and ctrls from the master?  I'm guessing something like
--native-fdm=socket,out,60,(ip address),5505,udp, but just want to check.
I had previously be using just native=socket,out,30,(ip address),5500,udp
and this did not produce the correct results.  I'm guessing the way you
suggested is the correct way?  Also, is 35 the default field of view?  I
think this is all for now.  Thanks for the help.
-Ryan


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Need help debugging some Nasal scripts

2005-11-24 Thread Ampere K. Hardraade
Is there a seperated program which I can used to test Nasal scripts without 
having to run FlightGear?

Ampere

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Need help debugging some Nasal scripts

2005-11-19 Thread Ampere K. Hardraade
Hello all,

Since I can't get my copy of FlightGear to run, I can't test these scripts 
myself.  Therefore, if you could play around with the two scripts in 
http://www.cs.yorku.ca/~cs233144/ and tell me about any error that you may 
receive, that would be great.

The two scripts are implementations of the double-linked-list and tree object.

Thanks in advance,
Ampere

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fronMSFS into Flightgear

2005-06-20 Thread yue xianf

hi Gerad:

Thank you so much, I will try it today. my system is Windows2000 if anything 
missing I will tell you

Thanks again

Clifford



From: Gerard Robin [EMAIL PROTECTED]
Reply-To: FlightGear developers discussions 
flightgear-devel@flightgear.org

To: FlightGear developers discussions flightgear-devel@flightgear.org
Subject: Re: [Flightgear-devel] need help for convertion(importing) 
fronMSFS into Flightgear

Date: Mon, 20 Jun 2005 00:27:02 +0200

Le vendredi 17 juin 2005 à 22:53 +0800, yue xianf a écrit :

 
  Hi every one:
 
  any one can give me some hint about how to run the MS FS models under
  flightgear?
  I have searched for long time, It is said Wolfram's manual can help,
  http://home.t-online.de/home/Wolfram.Kuss/,this websit  looks
  and also is Germany
  I don't understand.
 
  I very appreciate your help.
 
  Clifford Yue
 
   Yes I can help in detail,

 
 
  Hello Clifford

You will find as attached document the very beginning of
How to :for conversion  (importing) from MSFS to Flightgear

i don't know if that first draft will help you.
You will discover, a such manipulation is rather difficult.
Tell us what is missing for you

Gerard

 ConvertMDL2FG.txt 
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MSFSinto Flightgear

2005-06-20 Thread Gerard Robin
Le lundi 20 juin 2005 à 20:37 +0800, yue xianf a écrit :
 HI Ampere k.
 
 I need one of Aircraft of Bombardier Challengers( CL600 Cl601 Cl604)
 my system is Windows2000.
 
 Clifford
 
  Well, i hope for you  , you will find the right model, i did not
worked on that Aircraft.
Good Fishing  :--)

Have you built FlightGear by yourself  ? 
 
 
-- 
Gerard


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fronMSFSinto Flightgear

2005-06-20 Thread yue xianf

Hi Gerard:

I didn't built FlightGear by myself. I found all of the models in MS FS
I think the hard part is the convertion,  to comfigure, it should be easier

Clifford





From: Gerard Robin [EMAIL PROTECTED]
Reply-To: FlightGear developers discussions 
flightgear-devel@flightgear.org

To: FlightGear developers discussions flightgear-devel@flightgear.org
Subject: Re: [Flightgear-devel] need help for convertion(importing) 
fronMSFSinto Flightgear

Date: Mon, 20 Jun 2005 15:12:26 +0200

Le lundi 20 juin 2005 à 20:37 +0800, yue xianf a écrit :
 HI Ampere k.

 I need one of Aircraft of Bombardier Challengers( CL600 Cl601 Cl604)
 my system is Windows2000.

 Clifford

  Well, i hope for you  , you will find the right model, i did not
worked on that Aircraft.
Good Fishing  :--)

Have you built FlightGear by yourself  ?


--
Gerard


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fronMSFSinto Flightgear

2005-06-20 Thread Gerard Robin
Le lundi 20 juin 2005 à 22:07 +0800, yue xianf a écrit :
 Hi Gerard:
 
 I didn't built FlightGear by myself. I found all of the models in MS FS
 I think the hard part is the convertion,  to comfigure, it should be easier
 
 Clifford
 
 
 
 
Well, you are running on the good waygood luck.
-- 
Gerard


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fronMSFSinto Flightge

2005-06-20 Thread Innis Cunningham

Hi Clifford
Well you may be in luck.See attached snapshot.
One CL604 that I converted from Chuck Dome's great model.
Back in FG 9.4 but it just needs to be converted for 9.8.No big
deal just use the 737 fdm till you get a real one built.If you are
interested give me a yell and I will send it over.

Cheers
Innis

 Clifford writes


HI Ampere k.

I need one of Aircraft of Bombardier Challengers( CL600 Cl601 Cl604)
my system is Windows2000.

Clifford


attachment: CL604.jpg
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Re: [Flightgear-devel] need help for convertion(importing)fronMSFSinto Flightge

2005-06-20 Thread yue xianf

hi  Innis:

I have seen the picture, that is beautiful, I keep yelling here for your 
great job.
would you send me a discription  about how to convert? For the hotmail 
capacity limitation,

it is better send me a copy to [EMAIL PROTECTED]

Thanks a lot
Clifford


From: Innis Cunningham [EMAIL PROTECTED]
Reply-To: FlightGear developers discussions 
flightgear-devel@flightgear.org

To: flightgear-devel@flightgear.org
Subject: Re: [Flightgear-devel] need help for 
convertion(importing)fronMSFSinto Flightge

Date: Mon, 20 Jun 2005 23:05:01 +0800

Hi Clifford
Well you may be in luck.See attached snapshot.
One CL604 that I converted from Chuck Dome's great model.
Back in FG 9.4 but it just needs to be converted for 9.8.No big
deal just use the 737 fdm till you get a real one built.If you are
interested give me a yell and I will send it over.

Cheers
Innis

 Clifford writes


HI Ampere k.

I need one of Aircraft of Bombardier Challengers( CL600 Cl601 Cl604)
my system is Windows2000.

Clifford


 CL604.jpg 
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fronMSFSinto Flightge

2005-06-20 Thread Gerard Robin
Le lundi 20 juin 2005 à 23:05 +0800, Innis Cunningham a écrit :
 Hi Clifford
 Well you may be in luck.See attached snapshot.
 One CL604 that I converted from Chuck Dome's great model.
 Back in FG 9.4 but it just needs to be converted for 9.8.No big
 deal just use the 737 fdm till you get a real one built.If you are
 interested give me a yell and I will send it over.
 
 Cheers
 Innis
 
   Clifford writes
 
 HI Ampere k.
 
 I need one of Aircraft of Bombardier Challengers( CL600 Cl601 Cl604)
 my system is Windows2000.
 
 Clifford
 
 Good, that demonstrate, it is existing a big Hangar  FG underground
How many aircrafts are only existing for the pleasure of one FG User ?
(on my side about 25)   :---(((
-- 
Gerard


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help forconvertion(importing)fronMSFSintoFlightge

2005-06-20 Thread Innis Cunningham



Clifford writes


Hi Innis

I hope you didn't change your mind, I am waiting for your CL604
Thanks again


I will convert it so it runs in 9.8 as soon as you get it.It maybe a day or 
so.
What is your hotmail download limit?.If not I will send it to the other 
address.
It will be in winzip format hope that is ok.There are no animations on the 
model.


Clifford


Cheers
Innis



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing)fronMSFSinto Flightge

2005-06-20 Thread Innis Cunningham


Hi Gerard
 Gerard Robin writes


 Good, that demonstrate, it is existing a big Hangar  FG underground
How many aircrafts are only existing for the pleasure of one FG User ?
(on my side about 25)   :---(((


There is always Dave Culp's hangar for some aircraft that may not be on the
FG site also a lot of the aircraft I have converted are not GPL.It is just 
that

Chuck Dome has given his permission for us to use his aircraft and I had
forgotten I had done the conversion.

--
Gerard


Cheers
Innis



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MSFS into Flightgear

2005-06-19 Thread Gerard Robin
Le vendredi 17 juin 2005  22:53 +0800, yue xianf a crit :

 
  Hi every one:
 
  any one can give me some hint about how to run the MS FS models under
  flightgear?
  I have searched for long time, It is said Wolfram's manual can help,
  http://home.t-online.de/home/Wolfram.Kuss/,this websit  looks
  and also is Germany
  I don't understand.
 
  I very appreciate your help.
 
  Clifford Yue
 
   Yes I can help in detail,

 
 
  Hello Clifford

You will find as attached document the very beginning of 
How to :for conversion  (importing) from MSFS to Flightgear

i don't know if that first draft will help you.
You will discover, a such manipulation is rather difficult.
Tell us what is missing for you

Gerard
 
From Gerard Robin   ([EMAIL PROTECTED])  to FlightGear community

That document is only an quick help, it should be improved

The purpose of FlightGear is to offer a realistic flight simulator which gives 
to anybody, opportunity and facilities to manipulate every aircraft 
characteristics parameters.
One could prefer to spend the best of is time to that technical aspect, to test 
these parameters with a nice 3D model,rather than loosing is time to make model.

Only, for a home usage, converting a .mdl Aircraft is an opportunity. He can 
get quickly, a model which is yet existing  ( most of these models are 
protected by copyriht)



You are supposed to know:
   how to place a 3D model in the FlightGear world
   how to use the FG properties and animate a 3D model 
   how to build a flight dynamic model with Yasim or JSBSim or Uiuc or 
Larcsim .

AOverview.

The processing of an Aircraft.mdl format depend on the PLIB library 
functionality.
PLIB being used by FlightGear.

That library contains the input function, which gives the possibility to 
extract from a .mdl format the full vertex and faces definitions of a 
model. The texture coordinates are kept.

That library contains the output functions, for translation in others 3D 
formats, the mains format are:  .ac, .dxf,.3ds and others 
(the full list can be seen in the PLIB source--plib/src/ssg/...).

The mdl animations are not converted .

This help-description is Plib 1.8.4 related to.
It has been experimented under Linux, only, we cannot guaranty his full 
availability under others operating system (however it should do, because of 
the portability of FlightGear, and Plib)

We will see in the next chapters:
  -limitations of these resources and how to use directly a .mdl 
model in FlightGear, without any external translation.
  -how to convert a mdl model

B=Limitations and how to use directly a mdl model.

One same extension name define in fact several .mdl format,
They are not compatible, they  are on the MS FS side dedicated to, FS98 or 
FS2000 or FS2002 or FS2004  and MS Player has to try to convert the old models 
to get it running on newer Flying simulator game.

The static part of the Aircraft.mdl is supposed to be existing in a .bgl 
format, encapsulated in the.mdl format 

PLIB looks for the .static bgl part--beginning address and length.
It try to extract that part only.


FS98
By that way, because mdl FS98 format is simple, due to FS98 limitations itself. 
PLIB is able to extract it at the good scale, the good orientation, the good 
textures (textures are in a specific format which is red by PLIB) 
In FG it is necessary to include the mdl model and the textures in the same 
directory 
(usually -- ..yourAircraft/Models/..) and to declare it in the file 
yourAircraft-set.xml.
however a limitation is existing: you do not get any animation.
An other limitation coming from FS98, the model is not detailed, rather simple, 
not up to the quality we are waiting for the last FlightGear release

FS2000 to 2004
Here we depend mainly on the CAD 3D program which was used to build the 
original model.
(in order to help for a quick test of usability, you could use threedconvert, 
it will be explained in the next chapter- How to convert)

Models originally modelled with Abacus FSDS modeller gives the best result
That type of mdl models can be directly used.
That kind of model have a very good quality, detailed, up to the FlightGear 
quality, the good scale, the good orientation, the good texture.(textures ares 
in bmp format)

The process is identical to FS98 model:
In FG it is necessary to include the mdl model and the textures in the same 
directory 
(usually -- ..your Aircraft/Models/..) and to declare it in the file your 
Aircraft-set.xml.
For the Linux user it could happen a difficulty with the texture name (wrong 
upper case, lower-case), which must be adapted to the model request (error 
messages during FlightGear loading)
However a limitation is existing: you do not get any animation.
Here an example of a model which can 

[Flightgear-devel] need help for convertion(importing) fron MS FS into Flightgear

2005-06-17 Thread yue xianf

Hi every one:

any one can give me some hint about how to run the MS FS models under 
flightgear?

I have searched for long time, It is said Wolfram's manual can help,
http://home.t-online.de/home/Wolfram.Kuss/,this websit  looks something else 
and also is Germany

I don't understand.

I very appreciate your help.

Clifford Yue



From: Andy Ross [EMAIL PROTECTED]
Reply-To: FlightGear developers discussions 
flightgear-devel@flightgear.org

To: FlightGear developers discussions flightgear-devel@flightgear.org
Subject: [Flightgear-devel] Re: Re: FW: Re: Fwd: FW: Re: Re: Re : Re: Re 
:Re:

Date: Fri, 17 Jun 2005 06:52:00 -0700

Re: Re: FW: Re: Fwd: FW: Re: Re: Re : Re: Re : Re:

What was the subject again?  Someone's mail client is obviously
very angry...

Andy

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] need help for convertion(importing) fron MS FS into Flightgear

2005-06-17 Thread yue xianf

Hi every one:

any one can give me some hint about how to run the MS FS models under 
flightgear?

I have searched for long time, It is said Wolfram's manual can help,
http://home.t-online.de/home/Wolfram.Kuss/,this websit  looks something else 
and also is Germany

I don't understand.

I very appreciate your help.

Clifford Yue

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MS FS into Flightgear

2005-06-17 Thread Andy Ross
Clifford Yue wrote:
 Andy Ross wrote:
  Re: Re: FW: Re: Fwd: FW: Re: Re: Re : Re: Re : Re:
 
  What was the subject again?  Someone's mail client is obviously
  very angry...

 any one can give me some hint about how to run the MS FS models
 under flightgear?

Of all the messages to reply to to create a new thread, you picked
this one? ...

Unfortunately, no, I can't help.  FlightGear and MSFS have diverged to
the point that you will be much happier working with or developing
native aircraft.

Andy


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MS FS into Flightgear

2005-06-17 Thread Thomas Förster
Am Freitag 17 Juni 2005 16:13 schrieb yue xianf:
 Hi every one:

 any one can give me some hint about how to run the MS FS models under
 flightgear?
 I have searched for long time, It is said Wolfram's manual can help,
 http://home.t-online.de/home/Wolfram.Kuss/,this websit  looks something
 else and also is Germany
 I don't understand.

 I very appreciate your help.

Basically the site says that the original site does no longer exist. 
Apparently the hoster had changed their systems and informed all customers to 
move their sites. Yet their is no link pointing to the maybe moved site.

Looks like this link may rest in peace...

Thomas

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MS FS into Flightgear

2005-06-17 Thread Gerard Robin
 Le vendredi 17 juin 2005  22:13 +0800, yue xianf a crit :


 Hi every one:

 any one can give me some hint about how to run the MS FS models under 
 flightgear?
 I have searched for long time, It is said Wolfram's manual can help,
 http://home.t-online.de/home/Wolfram.Kuss/,this websit  looks 
 and also is Germany
 I don't understand.

 I very appreciate your help.

 Clifford Yue

 Yes I can help in detail, 
It will be rather a long way to explain in detail, and i fear that
Melchior will accept that kind of DOC taking place here.
Anyway if necessary in can try to make a little doc. It needs some
delay.
-- 
Gerard


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MSFS into Flightgear

2005-06-17 Thread yue xianf

hi Gerard:

Thanks lot, I found the hope to finish my project.

Clifford


From: Gerard Robin [EMAIL PROTECTED]
Reply-To: FlightGear developers discussions 
flightgear-devel@flightgear.org

To: FlightGear developers discussions flightgear-devel@flightgear.org
Subject: Re: [Flightgear-devel] need help for convertion(importing) fron 
MSFS into Flightgear

Date: Fri, 17 Jun 2005 16:45:22 +0200

 Le vendredi 17 juin 2005  22:13 +0800, yue xianf a crit :


 Hi every one:

 any one can give me some hint about how to run the MS FS models under
 flightgear?
 I have searched for long time, It is said Wolfram's manual can help,
 http://home.t-online.de/home/Wolfram.Kuss/,this websit  looks
 and also is Germany
 I don't understand.

 I very appreciate your help.

 Clifford Yue

 Yes I can help in detail,
It will be rather a long way to explain in detail, and i fear that
Melchior will accept that kind of DOC taking place here.
Anyway if necessary in can try to make a little doc. It needs some
delay.
--
Gerard


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MSFS into Flightgear

2005-06-17 Thread Gerard Robin
Le vendredi 17 juin 2005  22:53 +0800, yue xianf a crit :
 hi Gerard:
 
 Thanks lot, I found the hope to finish my project.
 
 Clifford
 
 Be careful, don't hope to much, we meet limitations, we cannot work
with every .mdl format, don't wait for miracle.
I will try to explain that in a DOC next week.
A question: which operating system are you using with?
-- 
Gerard


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MSFS into Flightgear

2005-06-17 Thread Ampere K. Hardraade
On June 17, 2005 10:53 am, yue xianf wrote:
 hi Gerard:

 Thanks lot, I found the hope to finish my project.

 Clifford

What aircraft is it that you intent to port over?


Ampere

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] need help for convertion(importing) fron MS FS into Flightgear

2005-06-17 Thread Lee Elliott
On Friday 17 Jun 2005 15:24, Andy Ross wrote:
 Clifford Yue wrote:
  Andy Ross wrote:
   Re: Re: FW: Re: Fwd: FW: Re: Re: Re : Re: Re : Re:
  
   What was the subject again?  Someone's mail client is
   obviously very angry...
 
  any one can give me some hint about how to run the MS FS
  models under flightgear?

 Of all the messages to reply to to create a new thread, you
 picked this one? ...


LOL:)

LeeE

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] timer help

2005-06-11 Thread eagle monart


 5. Re: timer  help (Josh Babcock)



 are there any references to use time delay in functions. i am trying to
 delay speedbrake for 1.5 scnds everytime activated or deactivated in
 larcsim .  i tried to use sleep() functions  in msvc71 but makes the
 whole sim sleep:)

 i am looking for example time delays in fg source and would be happy if
 anyonepoints...




You could easily do it in NASAL using settimer().

Josh



i am totaly lost. i ve tried different declarations of  delay functions but 
they  starts infinite loops.  i tihnk nasal expalined   only  for xml usage  
but i didnt find a  source to declare settimer() in a source code  . I need 
a reference...


_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] timer help

2005-06-11 Thread Roy Vegard Ovesen
On Saturday 11 June 2005 13:44, eagle monart wrote:

 i am totaly lost. i ve tried different declarations of  delay functions but
 they  starts infinite loops.  i tihnk nasal expalined   only  for xml usage
 but i didnt find a  source to declare settimer() in a source code  . I need
 a reference...

settimer(foo(...), time)

where foo(...) is the function to call and time is the delay in seconds. This 
will call foo(...) in time seconds from when settimer() is called.

Here is a function that repeats, or calls itself every 5 seconds.

foo = func
{
# Do something really neat

settimer(foo(), 5.0);
}

This is of course an infinite loop. If you want to stop the loop you have to 
check for some condition and simply not call the settimer function:

foo = func
{
# Do something really neat

if (stopTheLoop)
{
# Do nothing
}
else
{
settimer(foo(), 5.0);
}
}



-- 
Roy Vegard Ovesen

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] timer help

2005-06-11 Thread Roy Vegard Ovesen
On Saturday 11 June 2005 14:15, Roy Vegard Ovesen wrote:

 settimer(foo(...), time)

 where foo(...) is the function to call and time is the delay in seconds.
 This will call foo(...) in time seconds from when settimer() is called.

 Here is a function that repeats, or calls itself every 5 seconds.

 foo = func
 {
   # Do something really neat

   settimer(foo(), 5.0);
 }

 This is of course an infinite loop. If you want to stop the loop you have
 to check for some condition and simply not call the settimer function:

 foo = func
 {
   # Do something really neat

   if (stopTheLoop)
   {
   # Do nothing
   }
   else
   {
   settimer(foo(), 5.0);
   }
 }

Whoops!
Replace foo(*) with foo wherever it appears above.

-- 
Roy Vegard Ovesen

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] timer help

2005-06-11 Thread Andy Ross
eagle monart wrote:
 i am totaly lost. i ve tried different declarations of delay
 functions but they starts infinite loops.  i tihnk nasal expalined
 only for xml usage but i didnt find a source to declare settimer()
 in a source code . I need a reference...

The documentation for the function is at
http://plausible.org/nasal/flightgear.html (at the bottom of the
file).  It explains how to write Nasal in XML files as well as how to
write stand-alone files.

The settimer() function is a C++ extension function, it is defined in
src/Scripting/NasalSys.cxx in the source code.

And of course you can look at the existing Nasal code, all of which
uses settimer() extensively.  You can grep through all the existing
nasal files with something like:

  cd $FG_ROOT
  find . -name '*.nas' | xargs fgrep settimer

And, as always, posting the code you are having trouble with is much
more useful than simply announcing that different versions start
infinite loops. :)

Andy


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] timer help

2005-06-11 Thread Vivian Meazza
eagle monart wrote

 
 
 And, as always, posting the code you are having trouble with is much
 more useful than simply announcing that different versions start
 infinite loops. :)
 
 Andy
 
 i wrote different functions here is few examples. by the way i am writing
 these to the larcsim   c172aero also added time.h  under msvc7.1.
 
 i am tryng to add a delay in seconds before activation/ deactivation of
 cockpit functions. my aim is to declare specific drag according to time
 within component cycle time. i am trying to add an example decleration for
 that purposebut function goes too..infinite!!!  or
 totaly frezes sim .
 
 my first try
 // travel time  speedbrake drag coeff=1 after travel comp drag=1 // itt
 logic checker to break loop
 
 if( Speedbrk) { if (itt==0)
  start_time = clock();
 while((clock() - start_time)  3 *
 CLOCKS_PER_SEC)
 { speedd=1 ;itt=1;
 } }
speeddd=1.7; }
 
 
 another try
 
 
 double delwait ( double  seconds )
 {
   double checker1,result1 ;
   checker1= clock () +seconds * CLK_TCK ;
   result1= checker1-clock();
   return (result1);
 }
 if( Speedbrk) {   if ( itt==0 ) {ni=delwait(2);
   while (ni0)  {  speedd=1;   itt=1; }
 }
  else   {  speedd=1.7 ;}
   }
 
 
 another try but frezes whole sim
 
 wait ( int seconds )
 {
   clock_t endwait;
   endwait = clock () + seconds * CLK_TCK ;
   return(endwait-clock())
 }
 
 if( Speedbrk) {  if ( itt==0 )  {   while ( wait (2)=0) {   speedd=1;
 itt=1 }}
   speedd= 1.7 ;}
 

You will find an example of a time delay function in
~/Aircraft/Spitfire/models/spitfire.nas. Look for the code following 

#  Coffman starter stuff == 

This particular fragment was written by Melchior Franz. 

Regards,

Vivian 



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] timer help

2005-06-11 Thread Andy Ross
eagle monart wrote:
 i am tryng to add a delay in seconds before activation/
 deactivation of cockpit functions. my aim is to declare
 specific drag according to time within component cycle time. i
 am trying to add an example decleration for that purposebut
 function goes too..infinite!!!  or totaly
 frezes sim .

Well, first, we seem to be talking about different things.  I
thought the question was about how to use settimer() in a Nasal
script, whereas these are modifications to the C code in LaRCsim.

Second, as a more general suggestion: please get your whitespace under
control.  Different programmers have different ideas about where
braces go, how many spaces to use for indentations, whether tabs are
legal, whether whitespace should be used around parentheses,
etc...  But no one should be forced to read stuff like you posted.  I
honestly had to read through your (non-code) text several times just
to be sure it wasn't a joke. :)

Third, the clock() function you are calling is not what you think it
is.  It does not wall clock time, but CPU time used by your current
process.  These aren't likely to be well synchronized.

And finally, trying to wait like this is never going to work well.
FlightGear has a main loop that it needs to execute every frame.  When
you block waiting on something to happen, you are blocking the entire
simulator.  The proper way to implement this kind of feature is to
poll for changes every frame, and set some kind of state to know
what to do each update.

Honestly, my suggestion is to leave the C/C++ code alone, study the
existing aircraft to learn how they are configured using XML and
Nasal, and try to implement your feature at that level.

Andy

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] timer help

2005-06-10 Thread eagle monart



are there any references to use time delay in functions. i am trying to 
delay speedbrake for 1.5 scnds everytime activated or deactivated in  
larcsim .  i tried to use sleep() functions  in msvc71 but makes the whole 
sim sleep:)


i am looking for example time delays in fg source and would be happy if  
anyonepoints...


_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] timer help

2005-06-10 Thread Josh Babcock
eagle monart wrote:
 
 
 are there any references to use time delay in functions. i am trying to
 delay speedbrake for 1.5 scnds everytime activated or deactivated in 
 larcsim .  i tried to use sleep() functions  in msvc71 but makes the
 whole sim sleep:)
 
 i am looking for example time delays in fg source and would be happy if 
 anyonepoints...
 
 _
 Is your PC infected? Get a FREE online computer virus scan from McAfee®
 Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
 
 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@flightgear.org
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 2f585eeea02e2c79d7b1d8c4963bae2d
 

You could easily do it in NASAL using settimer().

Josh

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Help... aircraft texture

2005-06-04 Thread Josh Babcock
Melchior FRANZ wrote:
 * Melchior FRANZ -- Friday 03 June 2005 08:12:
 
* gimp:
  - save as foo.rgb and select SGI in the Determine Filetype selector
(Don't use By extension, because that creates some other *.rgb format)

  - or save as foo.sgi and then rename to foo.rgb
 
 
 When asked for the Compression Type, choose Aggressive RLE (Not supported
 by SGI). (This *is* supported by SGI, it's in SGI's own SGI image format
 spec. This compression type is supported by GIMP, KDE, ImageMagick, Blender,
 plib, ... and is the smallest that GIMP can write. (Could be made smaller
 by other programs. Just ask. :-)
 
 
 
 
* any graphics program. Save to any format. But then convert to SGI using
  ImageMagick's convert:

$ convert foo.jpeg sgi:foo.rgb
 
 
 convert seems to use (non-aggressive) RLE by default. If not, use the
 -compress RLE option.
 
   $ convert foo.jpeg -compress RLE sgi:foo.rgb
 
 m.
 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@flightgear.org
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 2f585eeea02e2c79d7b1d8c4963bae2d
 

Yes, I remember this, but I can't seem to find it in the archives. How
does one strip out alpha channels again?

Josh

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Help... aircraft texture

2005-06-04 Thread Melchior FRANZ
* Josh Babcock -- Saturday 04 June 2005 19:14:
 Melchior FRANZ wrote:
$ convert foo.jpeg -compress RLE sgi:foo.rgb

 How does one strip out alpha channels again?

Don't know with convert, although I would be surprised if it weren't
able to. I use KDE for that. You can load the image in kolourpaint and
save it again, which makes some textures a lot smaller. I've got an
external program (compilable under KDE only [1]) that does this from the
command line (and even compress a little more). Doesn't look like you
are a KDE guy, though.  :-)

m.



[1] http://members.aon.at/mfranz/rle.tar.gz  [5.5 kB]
$ make rle

Usage:  rle [--description string] file(s)

$ ./rle foo.jpg bar.png
... creates  foo.rgb and bar.rgb

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Help... aircraft texture

2005-06-03 Thread Melchior FRANZ
* Sam Heyman -- Friday 03 June 2005 02:46:
 How does one create a new texture for a .ac model? Which programs are 
 best suited?

Textures need to be in the SGI image format with size 2^n * 2^m.
Often they are 256*256, 512*512, 1024*1024, but 128*1024 does work, too.
They are in SGI format, which uses different extensions: *.rgb, *.rgba,
*.sgi, *.bw, *.al. The extensions are only hints for the user. There's
no formal difference between *.rgb and *.rgba. People often call that
format RGB format.

Either use:

* gimp:
  - save as foo.rgb and select SGI in the Determine Filetype selector
(Don't use By extension, because that creates some other *.rgb format)

  - or save as foo.sgi and then rename to foo.rgb


* any graphics program. Save to any format. But then convert to SGI using
  ImageMagick's convert:

$ convert foo.jpeg sgi:foo.rgb


* blender: these are only drafts and have to be finished in gimp etc.
  but you can create very useful object outlines, and even draw directly
  on the texture while it is applied to the object! It'll save to TGA
  (Targa) format and you'd have to convert that to SGI again.

* KDE's kolourpaint does write SGI images, too, just like any other KDE
  program that can write images.

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Help... aircraft texture

2005-06-03 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 03 June 2005 08:12:
 * gimp:
   - save as foo.rgb and select SGI in the Determine Filetype selector
 (Don't use By extension, because that creates some other *.rgb format)
 
   - or save as foo.sgi and then rename to foo.rgb

When asked for the Compression Type, choose Aggressive RLE (Not supported
by SGI). (This *is* supported by SGI, it's in SGI's own SGI image format
spec. This compression type is supported by GIMP, KDE, ImageMagick, Blender,
plib, ... and is the smallest that GIMP can write. (Could be made smaller
by other programs. Just ask. :-)



 * any graphics program. Save to any format. But then convert to SGI using
   ImageMagick's convert:
 
 $ convert foo.jpeg sgi:foo.rgb

convert seems to use (non-aggressive) RLE by default. If not, use the
-compress RLE option.

  $ convert foo.jpeg -compress RLE sgi:foo.rgb

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Help... aircraft texture

2005-06-03 Thread Arnt Karlsen
On Fri, 3 Jun 2005 11:54:48 +0200, Melchior wrote in message 
[EMAIL PROTECTED]:

 When asked for the Compression Type, choose Aggressive RLE (Not
 supported by SGI). (This *is* supported by SGI, it's in SGI's own SGI
 image format spec. This compression type is supported by GIMP, KDE,
 ImageMagick, Blender, plib, ... and is the smallest that GIMP can
 write. (Could be made smaller by other programs. Just ask. :-)

..hey, what happened to RTFM?  ;o)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] for help

2005-05-24 Thread yue xianf

Hi all:

anyone can give me some hint how can I get the data out of flightgear, I am 
interested in
the data speed in 3D and latitude, longtitude, altitude. I am working in 
windows 2000, Which

kinds of steps  do i need to finish.

I very appreicate your help

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] for help

2005-05-24 Thread Steven Beeckman
Citeren yue xianf [EMAIL PROTECTED]:

 Hi all:
 
 anyone can give me some hint how can I get the data out of
 flightgear, I am 
 interested in
 the data speed in 3D and latitude, longtitude, altitude. I am working
 in 
 windows 2000, Which
 kinds of steps  do i need to finish.
 
 I very appreicate your help
 

docs-mini/README.IO gives you a description of what is possible.

Steven


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Help with B-29

2005-03-14 Thread Melchior FRANZ
* Josh Babcock -- Monday 14 March 2005 03:53:
 OK, so I've been slowly working on this: 
 http://home.comcast.net/~jrbabcock/superfort/ for quite some time now.

Very impressive. Looks like one of my new favorites. The cockpit looks
great. Damn, I need VR-goggles ...  Don't let us wait too long!

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] STL help requested

2005-02-07 Thread Gerhard Wesp
On Fri, Feb 04, 2005 at 11:37:54PM +0100, Erik Hofman wrote:
 You could use qsort to sort the map just prior to using it:

No you cannot, neither is this necessary. std::map is always
maintained in sorted order.  For this it uses the comparision function
std::less or the one given in the template argument.  See Christian
Mayer's mail for details.

I recommend Nicolai Josuttis' book:  The C++ standard library.  A
tutorial and reference.  He also mentions another technique which could
be used to achive the desired behaviour:  Defining your own char_traits
char  class.  But IMO this is a bit awkward.

Cheers
-Gerhard
-- 
Gerhard Wesp o o   Tel.: +41 (0) 43 5347636
Bachtobelstrasse 56   |   http://www.cosy.sbg.ac.at/~gwesp/
CH-8045 Zuerich  \_/   See homepage for email address!

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] STL help requested

2005-02-07 Thread Gerhard Wesp
   bool operator()( const string x, const string y) const
   {
 return your ordering;
   }

Where your ordering can be written as

  std::lexicographical_compare
  ( x.begin() , x.end() , y.begin() , y.end() , ICAOcode_char_lt() )

where ICAOcode_char_lt implements the ``less than'' relation for the
individual characters for your ICAO codes:

struct ICAOcode_char_lt {

  bool operator()( char const x , char const y ) const {

// Numbers come after letters:
if( std::isalpha( x )  std::isdigit( y ) ) { return true ; }

// Upper-case only comparison:
return std::toupper( x )  std::toupper( y ) ;

  }

} ;

(hope this relation is transitive---please check!)

Cheers
-Gerhard
-- 
Gerhard Wesp o o   Tel.: +41 (0) 43 5347636
Bachtobelstrasse 56   |   http://www.cosy.sbg.ac.at/~gwesp/
CH-8045 Zuerich  \_/   See homepage for email address!

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] STL help requested

2005-02-07 Thread David Luff
Christian Mayer writes:


 The C++ Programming language 3rd ed. tells me:
 
 Basically you've got 2 options:
 
 1 - create a class with the  operator
 class IACOcode
 {
string the_code;
 }
 bool operator( const IACOcode a, const IACOcode b )
 {
   return your ordering;
 }
 mapIACOcode, ARP* apt_map;
 
 
 2 - create a custom sort order
 class IACOcode_compare
 {
 public:
   bool operator()( const string x, const string y) const
   {
 return your ordering;
   }
 }
 mapstring, ARP*, IACOcode_compare apt_map;
 
 
 Then you'll automatically get the desired result with your described lookup.
 

Thanks to everyone who replied.  I can see how to do it now, but unfortuanately 
it's now been complicated by the fact that the GPS unit appears to sometimes 
consider letters before numbers (forward prediction of airports), but sometime 
consider numbers before letters (scanning through the waypoint lists).  It 
seems that associative containers need the comparison operator specified at 
creation (for good reason when I think about it) so I guess I'll just carry on 
with my hack to avoid storing the data in memory twice.

Cheers - Dave

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] STL help requested

2005-02-05 Thread Paul Kahler
When you write your case-insensitive compare function
'0-9' are ascii 48-57
'a-z' are ascii 97-172
'A-Z' are ascii 65-90

by masking off the 32 bit, you make all letters upper case while moving
the numbers to the range 16-25. Now you want the numbers to come after
the letters, so you could toggle the 64 bit and get:
'0-9' = 80-89
'A-Z' = 1-26
'a-z' = 1-26

So if c is an ascii character, x = ((c  ~32)^64) would be a value that
compares with the properties you seek. You'll still need to write a
function to compare strings while using this character mapping.

Hope it helps,
Paul



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] STL help requested

2005-02-04 Thread David Luff
Hi folks,

I've run into a tricky problem when using stl map, and am hoping someone might 
be able to point me on the right direction.

I have a map of airports, indexed by string, which is the ICAO code:

mapstring, ARP* apt_map;

Now, I want to emulate the 'search ahead' function of GPS code entry, so that, 
for instance, entering KC will cause KCAD to be displayed - the first 
airport in the database starting with KC.  To do this I use the lower_bound 
function, for both KC and KD.  If the returned iterators don't match, then 
there is a valid match for KC.

mapstring, ARP*::iterator it1, it2;
it1 = apt_map.lower_bound(KC);
it2 = apt_map.lower_bound(KD);

return(it1 == it2 ? NULL : it1-second);

So far, so good.  Now, the problem is that the KLN89 (and probably most/all GPS 
units) regards A-Z as coming before 0-9, whereas the standard string compare 
function regards 0-9 as coming before A-Z.  So in this instance I might get 
KC52 displayed instead of KCAD (there isn't really a KC52, but there are 
many examples outside the US where this bites).  

Now, I can get round this by using a comparison of lower_bound tests for KC, 
KCA and KD, and it works.  Unfortunately I then have to check for non-alpha 
chars down to the end of the returned string, and re-test any with 'A' 
substituted in place.  It's effective, but really ugly!  I had to think quite 
hard about code I only wrote a week ago to compose the last sentence, and 
that's always a bad sign.  What I'm sure I ought to be able to do is to define 
a custom comparison operator that performs a string comparison where numbers 
are considered to come after letters, and for good measure to do a 
case-insensitive match on the letters.  I want to be able to do something like:

it1 = apt_map.lower_bound(KC, gps_less);

with all the ugly bits tucked away in gps_less which I can get working and them 
forget about.  Unfortunately, I can't find any good example in any of my books 
to do this, nor on the internet, and everything I try is giving me swathes of 
typical gruesome-to-mentally-parse stl error messages.  If anyone has an 
example of how to do this, or any pointers to one, I'd be most grateful.

Cheers - Dave

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] STL help requested

2005-02-04 Thread Erik Hofman
David Luff wrote:
Hi folks,
I've run into a tricky problem when using stl map, and am hoping someone might 
be able to point me on the right direction.
I have a map of airports, indexed by string, which is the ICAO code:
mapstring, ARP* apt_map;
Now, I want to emulate the 'search ahead' function of GPS code entry, so that, for instance, entering KC will cause 
KCAD to be displayed - the first airport in the database starting with KC.  To do this I use the lower_bound 
function, for both KC and KD.  If the returned iterators don't match, then there is a valid match for 
KC.
mapstring, ARP*::iterator it1, it2;
it1 = apt_map.lower_bound(KC);
it2 = apt_map.lower_bound(KD);
return(it1 == it2 ? NULL : it1-second);
So far, so good.  Now, the problem is that the KLN89 (and probably most/all GPS units) regards A-Z as coming before 0-9, whereas the standard string compare function regards 0-9 as coming before A-Z.  So in this instance I might get KC52 displayed instead of KCAD (there isn't really a KC52, but there are many examples outside the US where this bites).  
You could use qsort to sort the map just prior to using it:
http://www.cplusplus.com/ref/cstdlib/qsort.html
It requires a function that returns 0, 0 or 0 for every sort 
operation, so you can define the sorting algorithm yourself.

Erik
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] STL help requested

2005-02-04 Thread Christian Mayer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Luff schrieb:
 Hi folks,
 
 I've run into a tricky problem when using stl map, and am hoping someone 
 might be able to point me on the right direction.
 
 I have a map of airports, indexed by string, which is the ICAO code:
 
 mapstring, ARP* apt_map;
 
 Now, I want to emulate the 'search ahead' function of GPS code entry, so 
 that, for instance, entering KC will cause KCAD to be displayed - the 
 first airport in the database starting with KC.  To do this I use the 
 lower_bound function, for both KC and KD.  If the returned iterators 
 don't match, then there is a valid match for KC.
 
 mapstring, ARP*::iterator it1, it2;
 it1 = apt_map.lower_bound(KC);
 it2 = apt_map.lower_bound(KD);
 
 return(it1 == it2 ? NULL : it1-second);
 
 So far, so good.  Now, the problem is that the KLN89 (and probably most/all 
 GPS units) regards A-Z as coming before 0-9, whereas the standard string 
 compare function regards 0-9 as coming before A-Z.  So in this instance I 
 might get KC52 displayed instead of KCAD (there isn't really a KC52, but 
 there are many examples outside the US where this bites).  
 
 Now, I can get round this by using a comparison of lower_bound tests for 
 KC, KCA and KD, and it works.  Unfortunately I then have to check for 
 non-alpha chars down to the end of the returned string, and re-test any with 
 'A' substituted in place.  It's effective, but really ugly!  I had to think 
 quite hard about code I only wrote a week ago to compose the last sentence, 
 and that's always a bad sign.  What I'm sure I ought to be able to do is to 
 define a custom comparison operator that performs a string comparison where 
 numbers are considered to come after letters, and for good measure to do a 
 case-insensitive match on the letters.  I want to be able to do something 
 like:
 
 it1 = apt_map.lower_bound(KC, gps_less);
 
 with all the ugly bits tucked away in gps_less which I can get working and 
 them forget about.  Unfortunately, I can't find any good example in any of my 
 books to do this, nor on the internet, and everything I try is giving me 
 swathes of typical gruesome-to-mentally-parse stl error messages.  If anyone 
 has an example of how to do this, or any pointers to one, I'd be most 
 grateful.

The C++ Programming language 3rd ed. tells me:

Basically you've got 2 options:

1 - create a class with the  operator
class IACOcode
{
   string the_code;
}
bool operator( const IACOcode a, const IACOcode b )
{
  return your ordering;
}
mapIACOcode, ARP* apt_map;


2 - create a custom sort order
class IACOcode_compare
{
public:
  bool operator()( const string x, const string y) const
  {
return your ordering;
  }
}
mapstring, ARP*, IACOcode_compare apt_map;


Then you'll automatically get the desired result with your described lookup.

CU,
Christian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCBAAwlhWtxOxWNFcRAvoUAKCQmu/HJmzAQ6OZCLwCPJXoNLalPQCfSKB3
TBEVeGwmDCjOwegYbvbj8AQ=
=mohP
-END PGP SIGNATURE-

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] RE: Help 3D model about FlightGear.

2004-07-18 Thread Innis Cunningham
Hi All
If John is using AC3D 4.0 then there is a problem using
those models in FG.There is a crease statement that FG/Plib
can't handle.So to get around the problem you either have to
text edit all reference to the crease statement in the AC3D file
(tedious) or build the model using AC3D 3.6 or earlier.I have gone
back to building the models in 3.6.
This is another problem that needs a reasonably quick solution.
As we use AC3D as our main 3D modeller and the fact that AC3D
3.6 will disappear we need to address the issue and get FG/plib
to run with  AC3D 4.0 or later.
Or use another modeller.Having shelled out for AC3D you can see
I would not be in favor of this last suggestion.
Cheers
Innis
 Ampere K. Hardraade  writes
Hello John,
It will help if you tell us what error message you saw when FlightGear 
stops.
Chances are that the animation script file couldn't find the object it was
looking for in your mesh file.  But like I've said, it will help if we know
what the error is.

Regards,
Ampere
On July 17, 2004 10:58 pm, Jon Berndt wrote:
 Hi, John:

 This is a question for the FlightGear mailing list. I will forward this
 there.

 Jon

  -Original Message-
  From: ¾´ ºã [mailto:[EMAIL PROTECTED]
  Sent: Friday, July 16, 2004 9:50 PM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Help 3D model about FlightGear.
 
 
  Dear Sir:
  Hello. I am a new user of FlightGear, and there are some problems
  when I use it.
   I have downloaded and used the software ¡®FlightGear¡¯(0.9.4) for 
windows.
  The 3D model files in FlightGear are files with suffix ¡®ac¡¯. I want 
to
  draw a 3D model by myself, and I have downloaded the software ¡®AC3D¡¯ 
from
  www.ac3d.org (I haven¡¯t buy the license). The problem is that, the 3D
  model built by AC3D can not be used in FlightGear. There are the steps 
I
  have done next:
 
  1.Draw my own 3D model with the software AC3D and name it as 
¡®ufo.ac¡¯.
  2.Replace the old file ¡®ufo.ac¡¯(in
  C:\FlightGear\data\Aircraft\ufo\Models) by that new
¡®ufo.ac¡¯ which I drew before.
  3.Execute ¡®FlightGear launcher¡¯.
 
  After that, when I select the UFO model in the interface ¡®Select an
  aircraft¡¯, the wrong would appear: the FlightGear would stop. There 
are
  some questions I want to ask:
 
  1.Why can¡¯t I use the new 3D model?
  2.If I buy the AC3D license, could the 3D model built by AC3D be used 
in
  FlightGear?
  3.Are there some other ways to make 3D model with suffix ¡®ac¡¯? If 
there
  are, which
software should I use?
  4.Are the steps I have done alright? I beg you some advice.
 
  Thank you.
 
 
  Best wishes,
 
 
  	 			john
  			2004.7.17
 
  _
  ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  
http://messenger.msn.com/cn

 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
_
Play Love Hunt to win a $9000 holiday and find love!  
http://mobilecentral.ninemsn.com.au/mclovehunt/lovehunt.aspx

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] RE: Help 3D model about FlightGear.

2004-07-18 Thread Boris Koenig
Innis Cunningham wrote:
Hi All
If John is using AC3D 4.0 then there is a problem using
those models in FG.There is a crease statement that FG/Plib
can't handle.So to get around the problem you either have to
text edit all reference to the crease statement in the AC3D file
(tedious) or build the model using AC3D 3.6 or earlier.I have gone
back to building the models in 3.6.
You could easily automatize these steps with one or two shell commands,
but if the current workaround is to simply remove all references
to crease, then how about simply accepting the crease statement
programmatically but ignore it during execution ?
This shouldn't be too much of a change ?!
And that way one would at least have a hard-coded workaround, so no
new problems with that issue and everybody could keep using AC3D.
In the meanwhile the thing might be noteworthy within the FlightGear
docs, though.
-
Boris

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] RE: Help 3D model about FlightGear.

2004-07-17 Thread Jon Berndt
Hi, John:

This is a question for the FlightGear mailing list. I will forward this there.

Jon


 -Original Message-
 From:   [mailto:[EMAIL PROTECTED]
 Sent: Friday, July 16, 2004 9:50 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Help 3D model about FlightGear.


 Dear Sir:
 Hello. I am a new user of FlightGear, and there are some problems when
 I use it.
  I have downloaded and used the software FlightGear(0.9.4) for windows.
 The 3D model files in FlightGear are files with suffix ac. I want to
 draw a 3D model by myself, and I have downloaded the software AC3D from
 www.ac3d.org (I havent buy the license). The problem is that, the 3D
 model built by AC3D can not be used in FlightGear. There are the steps I
 have done next:

 1.Draw my own 3D model with the software AC3D and name it as ufo.ac.
 2.Replace the old file ufo.ac(in
 C:\FlightGear\data\Aircraft\ufo\Models) by that new
   ufo.ac which I drew before.
 3.Execute FlightGear launcher.

 After that, when I select the UFO model in the interface Select an
 aircraft, the wrong would appear: the FlightGear would stop. There are
 some questions I want to ask:

 1.Why cant I use the new 3D model?
 2.If I buy the AC3D license, could the 3D model built by AC3D be used in
 FlightGear?
 3.Are there some other ways to make 3D model with suffix ac? If there
 are, which
   software should I use?
 4.Are the steps I have done alright? I beg you some advice.

 Thank you.


 Best wishes,


   john
   2004.7.17

 _
  MSN Messenger:  http://messenger.msn.com/cn



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] RE: Help 3D model about FlightGear.

2004-07-17 Thread Ampere K. Hardraade
Hello John,

It will help if you tell us what error message you saw when FlightGear stops.  
Chances are that the animation script file couldn't find the object it was 
looking for in your mesh file.  But like I've said, it will help if we know 
what the error is.

Regards,
Ampere

On July 17, 2004 10:58 pm, Jon Berndt wrote:
 Hi, John:

 This is a question for the FlightGear mailing list. I will forward this
 there.

 Jon

  -Original Message-
  From:   [mailto:[EMAIL PROTECTED]
  Sent: Friday, July 16, 2004 9:50 PM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Help 3D model about FlightGear.
 
 
  Dear Sir:
  Hello. I am a new user of FlightGear, and there are some problems
  when I use it.
   I have downloaded and used the software FlightGear(0.9.4) for windows.
  The 3D model files in FlightGear are files with suffix ac. I want to
  draw a 3D model by myself, and I have downloaded the software AC3D from
  www.ac3d.org (I havent buy the license). The problem is that, the 3D
  model built by AC3D can not be used in FlightGear. There are the steps I
  have done next:
 
  1.Draw my own 3D model with the software AC3D and name it as ufo.ac.
  2.Replace the old file ufo.ac(in
  C:\FlightGear\data\Aircraft\ufo\Models) by that new
ufo.ac which I drew before.
  3.Execute FlightGear launcher.
 
  After that, when I select the UFO model in the interface Select an
  aircraft, the wrong would appear: the FlightGear would stop. There are
  some questions I want to ask:
 
  1.Why cant I use the new 3D model?
  2.If I buy the AC3D license, could the 3D model built by AC3D be used in
  FlightGear?
  3.Are there some other ways to make 3D model with suffix ac? If there
  are, which
software should I use?
  4.Are the steps I have done alright? I beg you some advice.
 
  Thank you.
 
 
  Best wishes,
 
 
  john
  2004.7.17
 
  _
   MSN Messenger:  http://messenger.msn.com/cn

 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] PLEASE HELP - compiling SimGear

2004-06-03 Thread Joe
I'm trying to compile SimGear.  When the make hits the clouds3d 
directory I get a screen full of errors that tell me that various 
symbols are being redeclared as different kind of symbol, all of them 
in extgl.c.  All the errors refer to symbols in gl.h: glBlendColor, 
glBlendEquation, glDrawRangeElements, etc - there are a lot of them. 
Can SOMEONE tell me why this is happening?

The env:
cygwin, rebuilt earlier today using the latest components (including 
GLUT 3.7.6)
gcc 3.3.1
SimGear was checked out from CVS at about 5pm
plib 1.8.3
zlib 1.2.1

Thanks for your help.
-j

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help\Advice for cvs update

2004-02-20 Thread Melchior FRANZ
* Seamus Thomas Carroll -- Saturday 21 February 2004 00:58:
 Every once and a while I update my cvs checkout.  I have begun to notice 
 that a cvs update -d -P does not merge my modified file with the checked 
 out file.  A conflict is not reported because the cvs update only presents 
 an M. ie:
 cvs update: Updating .
 M fg_commands.cxx

try

   $ cvs status fg_commands.cxx

and if it doesn't return (none) for each 'Sticky' entry, then make

   $ cvs up -A 



 At one point I deleted some hidden files of the form .#* which must be the 
 root of my problem.

No. These are created if something *is* merged in.

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Testing help wanted (please!)

2004-01-21 Thread David Luff


On 1/20/04 at 9:04 PM Erik Hofman wrote:

I've set up the AIModel code the publish it's internals just like a real 
FDM (but only the ones that are available) and told the aircraft loader 
routine to use /sim/ai/model[] as it property root. I think something 
similar would be a good thing for your code also.


Yes, I'll have to make it play nice with the rest of FlightGear at some
point.  There's a way to go just writing the core though - in particular
getting ai aircraft to improve in-air spacing with the user and other ai
aircraft.


BTW. I'll test the code, but probably not until tomorrow.


Thanks!

Cheers - Dave


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Testing help wanted (please!)

2004-01-21 Thread Erik Hofman
David Luff wrote:
On 1/20/04 at 9:04 PM Erik Hofman wrote:

I've set up the AIModel code the publish it's internals just like a real 
FDM (but only the ones that are available) and told the aircraft loader 
routine to use /sim/ai/model[] as it property root. I think something 
similar would be a good thing for your code also.



Yes, I'll have to make it play nice with the rest of FlightGear at some
point.  There's a way to go just writing the core though - in particular
getting ai aircraft to improve in-air spacing with the user and other ai
aircraft.

BTW. I'll test the code, but probably not until tomorrow.


Just to let you know, I saw nothing odd with that particular piece of 
code, and got it working (at least) three times today. Maybe something 
is fishy with gcc/libstdc etc.?

Erik



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Testing help wanted (please!)

2004-01-20 Thread David Luff
Hi all,

I'd be very grateful if one or two of you could download and test my latest ATC/AI 
patches before I commit them, since I'm not entirely convinced I've got all the 
possible crashes out of them yet.

The patches are at

http://www.nottingham.ac.uk/~eazdluf/ATCPatches040119.tar.gz

Do a make clean in the ATC directory of a reasonably up to date cvs checkout, and then 
unroll the tar file there (in the ATC dir) - it replaces Makefile.am and all the 
source files, plus a couple extras.

The patches add random VFR GA traffic at towered airports, with the exeception of very 
major one's such as KSFO.  User communication with tower when inbound is possible by 
tuning to the correct frequency, and pressing the ' key.  In general, one first 
contacts the tower for a VFR arrival about 6 - 10 miles out.

As regards the crashes, at one point I was getting an inexpicible crash right at 
startup, which gdb indicated was from sgLoad3dModel called from AIMgr::init.  I can't 
understand why it would crash there, and it only happened on Linux, and from one CVS 
tree.  I'd be interested in whether anyone else gets it.

Other than that, I *think* I've got all the common crashes out whilst actually 
running, but if folk could give it a good work out under gdb and report any crash bt's 
that would be much appreciated!

And finally - some indication of the effect on framerates that folk get on various 
equipment would be interesting.  There might be some scope for more aggressive LOD on 
the models I've used (the yellowish dpm cessna and the white pa28-161), the wheel's 
aren't LODed I don't think for example.

TIA

Cheers - Dave

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Testing help wanted (please!)

2004-01-20 Thread Erik Hofman
David Luff wrote:
Hi all,

I'd be very grateful if one or two of you could download and test my latest ATC/AI patches before I commit them, since I'm not entirely convinced I've got all the possible crashes out of them yet.

As regards the crashes, at one point I was getting an inexpicible crash right at startup, which gdb indicated was from sgLoad3dModel called from AIMgr::init.  I can't understand why it would crash there, and it only happened on Linux, and from one CVS tree.  I'd be interested in whether anyone else gets it.
Could this be a DOS line ending issue for the particular aircraft (or 
perhaps and XML formatting problem)?


And finally - some indication of the effect on framerates that folk get on various equipment would be interesting.  There might be some scope for more aggressive LOD on the models I've used (the yellowish dpm cessna and the white pa28-161), the wheel's aren't LODed I don't think for example.


I've set up the AIModel code the publish it's internals just like a real 
FDM (but only the ones that are available) and told the aircraft loader 
routine to use /sim/ai/model[] as it property root. I think something 
similar would be a good thing for your code also.

Erik

BTW. I'll test the code, but probably not until tomorrow.



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help creating a new model

2004-01-13 Thread Melchior FRANZ
* Luca Masera -- Tuesday 13 January 2004 09:43:
 I don't use BMP textures, FlightGear can't load them... (I think
 so because reading the documentation I've found that could be used
 only the .rgb textures).   

FlightGear can load anything that plib can, including BMP, PNG, ...
I'm actually considering to use PNG for the bo105, because RGB
wastes a lot of space. The question is, however, if plib can be
compiled on every platform to support PNG? Is libpng or an
equivalent available everywhere? 

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: Help creating a new model

2004-01-13 Thread Wolfram Kuss
I am probably WAY too late, but FWIW, you can buy a Bo105 plan here:
http://www.airpictorial.com/acatalog/Online_Shop_Germany_14.html

Bye bye,
Wolfram.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help creating a new model

2004-01-13 Thread Melchior FRANZ
* Wolfram Kuss -- Tuesday 13 January 2004 21:37:
 I am probably WAY too late, but FWIW, you can buy a Bo105 plan here:
 http://www.airpictorial.com/acatalog/Online_Shop_Germany_14.html

Not too late, but online buying typically involves a credit card.
I don't have one.  :-)

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help please!

2003-11-09 Thread Melchior FRANZ
* Sarel Theron -- Sunday 09 November 2003 06:59:
 On Fri, 2003-11-07 at 23:14, Melchior FRANZ wrote:
   * Sarel Theron [EMAIL PROTECTED] wrote:
 slDSP: write:  Resource temporaliry unavailable
[...]
  Or use a recent version of plib/SimGear/FlightGear (if you don't already).
  There was a bug in plib that could cause this together with certain
  sound chips/alsa drivers under Linux.
  
 I have downloaded the latest stable release of plib(plib-1.6.0) 

Sorry, this should have been: use the plib version from CVS. The
changes that I'm referring to weren't published in an official
release yet. They'll be in the next release.




 I run configure it can't find the GLU working directory. When I run
 ./configure --without-glut it can't find the OpenGL header file.

Because they aren't installed? You should install these:

mesaglut The Mesa Glut library
 mesaglu SGI's sample implementation of the GLU library
   mesaglu-devel Development package for mesaglu (GLU library)
  mesaglut-devel Development package for mesaglut (glut library)
  mesa-devel Development package for mesasoft (GL library)

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Aide.....Help!

2003-10-27 Thread Martin Spott
Frederic Bouvier [EMAIL PROTECTED] wrote:

 Tu peux télécharger les sources et les compiler toi-même si le coeur
 t'en dit ;-) C'est ce que je fais lorsqu'il m'arrive de booter sous
 Linux.

Il y'a un manuel - le Installation and Getting Started. Ce n'est pas
actuel avec la derniere revision de FlightGear mais ca suffit
pour compiler on Linux,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Aide.....Help!

2003-10-26 Thread Arnt Karlsen
On Sun, 26 Oct 2003 19:32:35 +0100, 
Frederic Bouvier [EMAIL PROTECTED] wrote in message 
[EMAIL PROTECTED]:

 JENTILE Jean-Paul wrote:
  Bonjour,
  Je veux télécharger la dernière version de FlightGear, je suis sous
  Mandrake 9. Je ne trouve pas mon bonheur dans la liste. Quelle
  version dois-je télécharger?
 
 A ma connaissance, la dernière version de FG, la 0.9.3, qui a à peine
 deux jours, n'a pas encore été packagée pour Mandrake. J'ignore
 d'ailleurs qui en est le mainteneur.
 
 Tu peux télécharger les sources et les compiler toi-même si le coeur
 t'en dit ;-) C'est ce que je fais lorsqu'il m'arrive de booter sous
 Linux.
 
 -Fred
 
 In English: Jean-Paul is asking for the 0.9.3 Mandrake package.
 I replied to him that, to my knowledge, Mandrake package is not
 ready yet, and I don't know who is doing that usually.
 
 I also suggest him to compile the source if he want.

..there is _also_ http://www.google.com/language_tools?hl=en  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Aide.....Help!

2003-10-26 Thread JENTILE Jean-Paul
Bonjour,
Je veux télécharger la dernière version de FlightGear, je suis sous 
Mandrake 9. Je ne trouve pas mon bonheur dans la liste. Quelle version 
dois-je télécharger?

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Aide.....Help!

2003-10-26 Thread Frederic Bouvier
JENTILE Jean-Paul wrote:
 Bonjour,
 Je veux télécharger la dernière version de FlightGear, je suis sous
 Mandrake 9. Je ne trouve pas mon bonheur dans la liste. Quelle version
 dois-je télécharger?

A ma connaissance, la dernière version de FG, la 0.9.3, qui a à peine
deux jours, n'a pas encore été packagée pour Mandrake. J'ignore
d'ailleurs qui en est le mainteneur.

Tu peux télécharger les sources et les compiler toi-même si le coeur
t'en dit ;-) C'est ce que je fais lorsqu'il m'arrive de booter sous
Linux.

-Fred

In English: Jean-Paul is asking for the 0.9.3 Mandrake package.
I replied to him that, to my knowledge, Mandrake package is not
ready yet, and I don't know who is doing that usually.

I also suggest him to compile the source if he want.



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


RE: [Flightgear-devel] [Fwd: help]

2003-09-20 Thread Norman Vine
Erik Hofman writes:
 Norman Vine wrote:
  Erik Hofman writes:
  
 Tests have shown 
 that in-lining code doesn't make a huge difference (actually the code 
 might become slower ...) but it decreased the executable tremendously.
  
  
  IMO the jury is still out on this :-)
  
  Compiling with minimal inlining *will* decrease compile times and 
  IIRC was the prime motivator for those making the argument that 
  inlining doesn't do any good.
  
  statistics-like-code-can-be-tweaked-to-prove-anything'ly yr's
 
 True. But given that there was no noticeable effect I guess we're safe.

Unless someone literally follows your advice and removes all the 
inlined code that we currently have :-)

Cheers

Norman

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] [Fwd: help]

2003-09-20 Thread Erik Hofman
Norman Vine wrote:

Unless someone literally follows your advice and removes all the 
inlined code that we currently have :-)
Now, that would be a waste of precious time :-)

Erik

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] [Fwd: help]

2003-09-19 Thread Erik Hofman
Erik Hofman wrote:

Hi

I have the following questions about FlightGear-0.9.2. Could you please
help me to post the following information to the development group?
The questions are as follows:

In FlightGear-0.9.2, the file size of fgfs.exe I download from website
is 2,656 KB, but the size of the same file became 46,414 KB when I
compiled the source code with the Cygwin compiler under Windows 2000.
Could someone tell me how to optimize the compiling process? Could
someone tell how to compile the FlightGear source code to the MS Windows
binary version with the Cygwin compiler?


This looks like it is bloated with debug info, and maybe a case of 
including static libraries where dynamic libraries are available.
I was just realized there is another issue.
Most developers compile without in-lining any code. Tests have shown 
that in-lining code doesn't make a huge difference (actually the code 
might become slower ...) but it decreased the executable tremendously.

Try disabling in-lining during compile time.

Erik



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


RE: [Flightgear-devel] [Fwd: help]

2003-09-19 Thread Norman Vine
Erik Hofman writes:

 Tests have shown 
 that in-lining code doesn't make a huge difference (actually the code 
 might become slower ...) but it decreased the executable tremendously.

IMO the jury is still out on this :-)

Compiling with minimal inlining *will* decrease compile times and 
IIRC was the prime motivator for those making the argument that 
inlining doesn't do any good.

statistics-like-code-can-be-tweaked-to-prove-anything'ly yr's

Norman



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] [Fwd: help]

2003-09-19 Thread Erik Hofman
Norman Vine wrote:
Erik Hofman writes:

Tests have shown 
that in-lining code doesn't make a huge difference (actually the code 
might become slower ...) but it decreased the executable tremendously.


IMO the jury is still out on this :-)

Compiling with minimal inlining *will* decrease compile times and 
IIRC was the prime motivator for those making the argument that 
inlining doesn't do any good.

statistics-like-code-can-be-tweaked-to-prove-anything'ly yr's
True. But given that there was no noticeable effect I guess we're safe.

Erik

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] [Fwd: help]

2003-09-17 Thread William Earnest
Fwd. for list non-member, please include in any replies.

 Original Message 
Subject:help
Date:   Tue, 16 Sep 2003 13:49:30 -0400
From:   Dai, Chengbi [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]


Hi

I have the following questions about FlightGear-0.9.2. Could you please
help me to post the following information to the development group?
The questions are as follows:

In FlightGear-0.9.2, the file size of fgfs.exe I download from website
is 2,656 KB, but the size of the same file became 46,414 KB when I
compiled the source code with the Cygwin compiler under Windows 2000.
Could someone tell me how to optimize the compiling process? Could
someone tell how to compile the FlightGear source code to the MS Windows
binary version with the Cygwin compiler?
Thanks for help

Chengbi Dai

Chengbi Dai
E-Mail: [EMAIL PROTECTED]
Institute for Aerospace Research
National Research Council
U-61, 1200 Montreal Road, Ottawa, ON K1A 0R6
Government of Canada
--
Bill Earnest  [EMAIL PROTECTED]  Linux Powered   Allentown, PA, USA
Computers, like air conditioners, work poorly with Windows open.
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] [Fwd: help]

2003-09-17 Thread Erik Hofman

Hi

I have the following questions about FlightGear-0.9.2. Could you please
help me to post the following information to the development group?
The questions are as follows:

In FlightGear-0.9.2, the file size of fgfs.exe I download from website
is 2,656 KB, but the size of the same file became 46,414 KB when I
compiled the source code with the Cygwin compiler under Windows 2000.
Could someone tell me how to optimize the compiling process? Could
someone tell how to compile the FlightGear source code to the MS Windows
binary version with the Cygwin compiler?
This looks like it is bloated with debug info, and maybe a case of 
including static libraries where dynamic libraries are available.

Try running:
strip -s fgfs
and could you provide the output of:
ldd fgfs
Regards,

Erik

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightRecorder Help needed!!!

2003-08-16 Thread Carsten Hoefer
Am Fre, 2003-08-15 um 16.13 schrieb Erik Hofman:
 Carsten Hoefer wrote:
  Hi,
  I tried to write a small program to plot various flight information. For
  example height vs. time, speed vs. time, etc
  Unfortunately I am a programing novice. That's why I need your help now!
  
  The basic program works now (You will find the code at:
  http://home.t-online.de/home/carsten.hoefer). But for the next steps I
  got some questions:
  
  1. My intention is, to read the nesseccary data from Curt's Replay
  function, because every information I need should be saved there
  already. I checked the code, but still do not know how I may access the
  data (flight time, height, speed, etc). At the moment I'm reading some
  test data from an ascii test file, but how do I read the 'real' replay
   data?
 
 The data is gathered in FlightGear/src/Network/native_ctrls.cxx (gather 
 the data is done in FGProps2NetCtrls and putting data back is done in 
 FGNetCtrls2Props). The replay system uses this exact data.
 
 If we can get a list of properties that are needed for replay 
 functionality it might be easier to update the generic protocol to not 
 just be able to output any data but also be able to read that data back.
 
 That would allow for a replay system that can sent data over the 
 network, serial port and use files to store a flight ...
 
 See FlightGear/src/Network/generic.cxx and generic.hxx and 
 FlightGear/data/Protocols.


Thanks Erik. I will have a look at these files. At the moment I'm
plotting agl, msl, speed, travelled distance versus time or travelled
distance (if I would get the data;-)).
With the difference between agl and msl it should also be possible to
add a ground profile to the msl vs. time or distance.

Carsten


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightRecorder Help needed!!!

2003-08-16 Thread Erik Hofman
Carsten Hoefer wrote:

Thanks Erik. I will have a look at these files. At the moment I'm
plotting agl, msl, speed, travelled distance versus time or travelled
distance (if I would get the data;-)).
With the difference between agl and msl it should also be possible to
add a ground profile to the msl vs. time or distance.
You can output that quite easily by defining your own protocol 
configuration file in FlightGear/data/Protocols. You can even define how 
the output would look like, provided it is ASCII only.

Erik

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightRecorder Help needed!!!

2003-08-16 Thread Carsten Hoefer
But so far as I understand it, Network/native_ctrls.cxx only accesses
current data in order to send it to the network. Is this correct? I may
use this data, but then I have to file all nesseccary information. This
would be a way if I would continue with a separate program.

I personally don't like having a lot of standalone programs, so my idea
is, to have the functionallity as a menue option. This would also gives
me the oportunity to access Curt's replay data.

Therefore first I need to know, how to implement my functions to
FlightGear main program

Carsten


Am Sam, 2003-08-16 um 15.58 schrieb Erik Hofman:
 Carsten Hoefer wrote:
 
  Thanks Erik. I will have a look at these files. At the moment I'm
  plotting agl, msl, speed, travelled distance versus time or travelled
  distance (if I would get the data;-)).
  With the difference between agl and msl it should also be possible to
  add a ground profile to the msl vs. time or distance.
 
 You can output that quite easily by defining your own protocol 
 configuration file in FlightGear/data/Protocols. You can even define how 
 the output would look like, provided it is ASCII only.
 
 Erik
 
 
 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] FlightRecorder Help needed!!!

2003-08-15 Thread Carsten Hoefer
Hi,
I tried to write a small program to plot various flight information. For
example height vs. time, speed vs. time, etc
Unfortunately I am a programing novice. That's why I need your help now!

The basic program works now (You will find the code at:
http://home.t-online.de/home/carsten.hoefer). But for the next steps I
got some questions:

1. My intention is, to read the nesseccary data from Curt's Replay
function, because every information I need should be saved there
already. I checked the code, but still do not know how I may access the
data (flight time, height, speed, etc). At the moment I'm reading some
test data from an ascii test file, but how do I read the 'real' replay
data??

2. At the moment my program is a standalone program, because I do not
know to to add my lines to FlightGear. How will I append the program to
the main flight gear program???

3. How can I write characters or words using OpenGL. I need this to
write names and numers at the curves and axes.

Thanks for any help. Comemnts are also appreciated!;-)

Carsten



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightRecorder Help needed!!!

2003-08-15 Thread Erik Hofman
Carsten Hoefer wrote:
Hi,
I tried to write a small program to plot various flight information. For
example height vs. time, speed vs. time, etc
Unfortunately I am a programing novice. That's why I need your help now!
The basic program works now (You will find the code at:
http://home.t-online.de/home/carsten.hoefer). But for the next steps I
got some questions:
1. My intention is, to read the nesseccary data from Curt's Replay
function, because every information I need should be saved there
already. I checked the code, but still do not know how I may access the
data (flight time, height, speed, etc). At the moment I'm reading some
test data from an ascii test file, but how do I read the 'real' replay
 data?

The data is gathered in FlightGear/src/Network/native_ctrls.cxx (gather 
the data is done in FGProps2NetCtrls and putting data back is done in 
FGNetCtrls2Props). The replay system uses this exact data.

If we can get a list of properties that are needed for replay 
functionality it might be easier to update the generic protocol to not 
just be able to output any data but also be able to read that data back.

That would allow for a replay system that can sent data over the 
network, serial port and use files to store a flight ...

See FlightGear/src/Network/generic.cxx and generic.hxx and 
FlightGear/data/Protocols.

2. At the moment my program is a standalone program, because I do not
know to to add my lines to FlightGear. How will I append the program to
the main flight gear program???
3. How can I write characters or words using OpenGL. I need this to
write names and numers at the curves and axes.
That's a bit difficult. You might want to take a look at 
FlightGear/src/Cockpit/hud_lbl.cxx and may even use that to draw the 
characters I guess.

Erik

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightRecorder Help needed!!!

2003-08-15 Thread Manuel Bessler
On Fri, Aug 15, 2003 at 03:42:58PM +0200, Carsten Hoefer wrote:
 Hi,
 I tried to write a small program to plot various flight information. For
 example height vs. time, speed vs. time, etc
 Unfortunately I am a programing novice. That's why I need your help now!

A couple of weeks ago I programmed something similar.
Its written using the wxWindows toolkit 
and it uses the CSV logging feature of fgfs.
Since I hacked it together in a few hours, its not advanced or pretty
and it does not have scaling, labeling of axes, tickmarks or any other
nice things. If someone wants to take a look at it email me.


Manuel

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightRecorder Help needed!!!

2003-08-15 Thread Matevz Jekovec




Manuel Bessler wrote:

  On Fri, Aug 15, 2003 at 03:42:58PM +0200, Carsten Hoefer wrote:
  
  
Hi,
I tried to write a small program to plot various flight information. For
example height vs. time, speed vs. time, etc
Unfortunately I am a programing novice. That's why I need your help now!

  
  
A couple of weeks ago I programmed something similar.
Its written using the wxWindows toolkit 
and it uses the CSV logging feature of fgfs.
Since I hacked it together in a few hours, its not advanced or pretty
and it does not have scaling, labeling of axes, tickmarks or any other
nice things. If someone wants to take a look at it email me.


Manuel
  

I think the idea of a seperate program for replays is an excellent
idea. FlightGear should/will save the replays in seperate text files
anyway. Some day, when we will have a nice GUI for replay stuff in
FlightGear itself, it should also be cool, to have some other external
program for viewing replays and reading models/terrain form the base
package. If we improve this program even further, we could add
possibilty to export everything as AVI format, or a model animation
(e.g. for Blender). We might also add terragen engine for rendering the
terrain and raytracing for models and show then this rendered animation
to MS and telling: wow, look at our new graphic engine:)).


- Matevz


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


RE: [Flightgear-devel] Instrument help

2003-07-29 Thread Richard Bytheway
It looks like the switch is marked CHT Select in the top part of the image. Does 
this aircraft have a 4 cylinder engine by any chance?

Richard

 -Original Message-
 From: WillyB [mailto:[EMAIL PROTECTED]
 Sent: 28 July 2003 8:10 pm
 To: FlightGear developers discussions
 Subject: Re: [Flightgear-devel] Instrument help
 
 
 H
 
 Ok, I'm probably confusing the switch then.
 
 I resized and enhanced the photos and have attached the new 
 one I made from 
 it.
 
 Is that 4 position switch for the C HT or am I totally wrong on that?
 
 Re's
 WillyB
 
 
 
 On Monday 28 July 2003 11:42, Alex Perry wrote:
  From: Matthew Law [EMAIL PROTECTED]
 
If ther eis a switch for CHT .. would this be so you 
 can manually
adjust the
temp if needed?
  
   No. Cylinder Head Temp is usually used to help you assess 
 the health of
   your engine.
 
  CHT itself doesn't have a switch, it is purely a 
 measurement. _However_ ...
  * Some people put EGT and CHT on the same dial and need a switch to
select which output is being shown at any given time.
  * Like EGT, it is often useful to have a peak hold feature,
in which case you need a switch to disable the peak hold.
  * You normally have one CHT sensor per cylinder (sometimes two),
so you either need to have lots of dials, or a switch to select
among them, or an electronic display to cycle through them, etc.
  * On a racing aircraft, I might be tempted to connect an 
 autothrottle
to the CHT (with a switch to disable it), just like a lot of acft
have an autolean that operates the mixture on carburated engines.
 

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-29 Thread WillyB
On Tuesday 29 July 2003 00:42, Richard Bytheway wrote:
 It looks like the switch is marked CHT Select in the top part of the
 image. Does this aircraft have a 4 cylinder engine by any chance?

Yes, it uses the Continental 0-200  (100 HP) which is 4 cylinder.
From what I understand now the switch will switch between the 4 cylinders and 
the selected cylinder's temp will be displayed in the cht instrument.

Thanks for taking a look at it :)

Re's

WillyB




 Richard

  -Original Message-
  From: WillyB [mailto:[EMAIL PROTECTED]
  Sent: 28 July 2003 8:10 pm
  To: FlightGear developers discussions
  Subject: Re: [Flightgear-devel] Instrument help
 
 
  H
 
  Ok, I'm probably confusing the switch then.
 
  I resized and enhanced the photos and have attached the new
  one I made from
  it.
 
  Is that 4 position switch for the C HT or am I totally wrong on that?
 
  Re's
  WillyB
 
  On Monday 28 July 2003 11:42, Alex Perry wrote:
   From: Matthew Law [EMAIL PROTECTED]
  
 If ther eis a switch for CHT .. would this be so you
 
  can manually
 
 adjust the
 temp if needed?
   
No. Cylinder Head Temp is usually used to help you assess
 
  the health of
 
your engine.
  
   CHT itself doesn't have a switch, it is purely a
 
  measurement. _However_ ...
 
   * Some people put EGT and CHT on the same dial and need a switch to
 select which output is being shown at any given time.
   * Like EGT, it is often useful to have a peak hold feature,
 in which case you need a switch to disable the peak hold.
   * You normally have one CHT sensor per cylinder (sometimes two),
 so you either need to have lots of dials, or a switch to select
 among them, or an electronic display to cycle through them, etc.
   * On a racing aircraft, I might be tempted to connect an
 
  autothrottle
 
 to the CHT (with a switch to disable it), just like a lot of acft
 have an autolean that operates the mixture on carburated engines.

 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-29 Thread David Megginson
Matthew Law writes:

  IIRC, running lean at high power settings increases CHT.  Running
  rich decreases it since there is more fuel to help dissipate heat.

That's an OIT (Old Instructor's Tale) as far as I can tell, though I'm
sure that a little heat gets carried off that way.  What actually
seems to control the CHT is the efficiency of combustion.

The hottest CHT's come at about 50 degF rich of peak EGT (ROP), and
the greatest power comes at 100 degF ROP.  At peak EGT, CHT's will be
already be getting cooler, and they start to drop significantly as you
go lean of peak EGT (LOP).  By 50 degF LOP, CHTs will have dropped
nearly 20 degC -- you need to run almost 250 degF ROP to get the same
result.

In other worlds, 50 degF ROP is the hottest the engine will run --
either leaning or enriching the mixture from that point will make the
engine run much cooler, but you have to lean only a little, while you
have to enrich quite a bit to get the same effect (bringing on the joy
of fouled plugs, stuck values, high fuel consumption, and lots of
carbon monoxide in your exhaust).

You can find a little chart in any Lycoming (or, presumably,
Continental) engine manual showing how all this works -- I bought my
O-320 manual on eBay for almost nothing.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-29 Thread David Megginson
Arnt Karlsen writes:

  ...except when running lean-of-peak, where leaning further, lowers
  CHT further.

Anything lean of 50 degF rich of peak EGT will result in lower CHT.
Running right at peak is already slightly cooler, though only by a few
degrees.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-29 Thread David Megginson
Alex Perry writes:

  Individual cylinders have slightly more or less airflow cooling (due to
  the pattern of baffles in front of the firewall) and receive slightly 
  different richness in the mixture (due to fuel injection differences,
  or uneven atomization after the carbureter as appropriate).  For each
  engine (and baffle layout), the pattern of differences is generally
  well known and the behavior is pretty consistent across most of the fleet.
  After enough experience in an aircraft, many owners know which cylinder
  is going to be hottest for a given phase of flight and therefore can leave
  the switch in a single position, just changing it (eg) after climb ends.
  Periodically, the pilot will cycle through all the cylinders to make sure
  they all read as expected, as a way of detecting some imminent
  failures.

Nowadays, a lot of people are installing inexpensive engine monitors
like the EDM 700:

  http://www.jpinstruments.com/edm_700.html

It cycles through all the information and will display whatever you
want (i.e. hottest cylinder) automatically.  It also keeps track of
all its incoming data and allows you to download it to your computer
and make charts in your spreadsheet, etc., so it's a bit like a
poor-man's flight data recorder.  It's also considerably cheaper than
other toys like an IFR GPS or a Stormscope.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-28 Thread Matthew Law
 If ther eis a switch for CHT .. would this be so you can manually 
adjust the 
 temp if needed?

No. Cylinder Head Temp is usually used to help you assess the health of
your engine.  If it is running too hot it is likely to shorten the life
of the engine.  If it is running really hot then it's probably about to
die very soon.  IIRC, running lean at high power settings increases CHT.
Running rich decreases it since there is more fuel to help dissipate
heat.  In the context of a racer, CHT is helpful in knowing if you can
push your engine a little harder without blowing it I suppose.

Then again, I might be totally wrong!

Cheers,

Matt.



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-28 Thread Alex Perry
From: Matthew Law [EMAIL PROTECTED]
  If ther eis a switch for CHT .. would this be so you can manually 
  adjust the 
  temp if needed?
 
 No. Cylinder Head Temp is usually used to help you assess the health of
 your engine.

CHT itself doesn't have a switch, it is purely a measurement. _However_ ...
* Some people put EGT and CHT on the same dial and need a switch to
  select which output is being shown at any given time.
* Like EGT, it is often useful to have a peak hold feature, 
  in which case you need a switch to disable the peak hold.
* You normally have one CHT sensor per cylinder (sometimes two),
  so you either need to have lots of dials, or a switch to select
  among them, or an electronic display to cycle through them, etc.
* On a racing aircraft, I might be tempted to connect an autothrottle
  to the CHT (with a switch to disable it), just like a lot of acft
  have an autolean that operates the mixture on carburated engines.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-28 Thread WillyB
H

Ok, I'm probably confusing the switch then.

I resized and enhanced the photos and have attached the new one I made from 
it.

Is that 4 position switch for the C HT or am I totally wrong on that?

Re's
WillyB



On Monday 28 July 2003 11:42, Alex Perry wrote:
 From: Matthew Law [EMAIL PROTECTED]

   If ther eis a switch for CHT .. would this be so you can manually
   adjust the
   temp if needed?
 
  No. Cylinder Head Temp is usually used to help you assess the health of
  your engine.

 CHT itself doesn't have a switch, it is purely a measurement. _However_ ...
 * Some people put EGT and CHT on the same dial and need a switch to
   select which output is being shown at any given time.
 * Like EGT, it is often useful to have a peak hold feature,
   in which case you need a switch to disable the peak hold.
 * You normally have one CHT sensor per cylinder (sometimes two),
   so you either need to have lots of dials, or a switch to select
   among them, or an electronic display to cycle through them, etc.
 * On a racing aircraft, I might be tempted to connect an autothrottle
   to the CHT (with a switch to disable it), just like a lot of acft
   have an autolean that operates the mixture on carburated engines.


 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
attachment: chtimg.jpg___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-28 Thread Kris Feldmann
The engine has four cylinders and the four-position switch in question 
allows the pilot to select between four Cylinder Head Temperature 
sensors (one in each cylinder head).

 Kris

WillyB wrote:
H

Ok, I'm probably confusing the switch then.

I resized and enhanced the photos and have attached the new one I made from 
it.

Is that 4 position switch for the C HT or am I totally wrong on that?

Re's
WillyB


On Monday 28 July 2003 11:42, Alex Perry wrote:

From: Matthew Law [EMAIL PROTECTED]

If ther eis a switch for CHT .. would this be so you can manually
adjust the
temp if needed?
No. Cylinder Head Temp is usually used to help you assess the health of
your engine.
CHT itself doesn't have a switch, it is purely a measurement. _However_ ...
* Some people put EGT and CHT on the same dial and need a switch to
 select which output is being shown at any given time.
* Like EGT, it is often useful to have a peak hold feature,
 in which case you need a switch to disable the peak hold.
* You normally have one CHT sensor per cylinder (sometimes two),
 so you either need to have lots of dials, or a switch to select
 among them, or an electronic display to cycle through them, etc.
* On a racing aircraft, I might be tempted to connect an autothrottle
 to the CHT (with a switch to disable it), just like a lot of acft
 have an autolean that operates the mixture on carburated engines.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-28 Thread Alex Perry
From: WillyB [EMAIL PROTECTED]
 Ok, I'm probably confusing the switch then.
 I resized and enhanced the photos and have
 attached the new one I made from it.
 Is that 4 position switch for the C HT or am I totally wrong on that?
 Url : http://mail.flightgear.org/pipermail/flightgear-devel/\
 attachments/20030728/02418d4a/chtimg.jpg

Aha! Nicely enhanced; it resolves the confusion.
The two switches lower left are the magnetos as you've already figured out.
The rotary analog display is labelled CYL HEAD TEMP and only has one
needle (white) and the redline (which is irrelevant to the discussion).

From: Alex Perry [EMAIL PROTECTED]
 * You normally have one CHT sensor per cylinder (sometimes two),
   so you either need to have lots of dials, or a switch to select
   among them, or an electronic display to cycle through them, etc.

The metal control (without a knob) is shown, in both the drawing and the
panel, with four positions and, in the drawing, is labelled CHT select.
I therefore assert that this aircraft has a four cylinder engine and this
selects which cylinder measurement is going to be seen on the dial.

Individual cylinders have slightly more or less airflow cooling (due to
the pattern of baffles in front of the firewall) and receive slightly 
different richness in the mixture (due to fuel injection differences,
or uneven atomization after the carbureter as appropriate).  For each
engine (and baffle layout), the pattern of differences is generally
well known and the behavior is pretty consistent across most of the fleet.
After enough experience in an aircraft, many owners know which cylinder
is going to be hottest for a given phase of flight and therefore can leave
the switch in a single position, just changing it (eg) after climb ends.
Periodically, the pilot will cycle through all the cylinders to make sure
they all read as expected, as a way of detecting some imminent failures.

As far as simulating it is concerned, there are standard models for how
CHT changes as a function of operating conditions for a given cylinder.
Therefore, we could easily have per-cylinder parametrics for the cooling
and for the mixture (in the engine file) that drive a standard CHT model.
Those parametric values, plus the broken status of each CHT sensor,
would be accessible to the instructor through the property tree.

Hope that helps ...

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-28 Thread WillyB
Thanks Kris

That makes sense :)

WillyB


On Monday 28 July 2003 12:34, Kris Feldmann wrote:
 The engine has four cylinders and the four-position switch in question
 allows the pilot to select between four Cylinder Head Temperature
 sensors (one in each cylinder head).

   Kris

 WillyB wrote:
  H
 
  Ok, I'm probably confusing the switch then.
 
  I resized and enhanced the photos and have attached the new one I made
  from it.
 
  Is that 4 position switch for the C HT or am I totally wrong on that?
 
  Re's
  WillyB
 
  On Monday 28 July 2003 11:42, Alex Perry wrote:
 From: Matthew Law [EMAIL PROTECTED]
 
 If ther eis a switch for CHT .. would this be so you can manually
 adjust the
 temp if needed?
 
 No. Cylinder Head Temp is usually used to help you assess the health of
 your engine.
 
 CHT itself doesn't have a switch, it is purely a measurement. _However_
  ... * Some people put EGT and CHT on the same dial and need a switch to
  select which output is being shown at any given time.
 * Like EGT, it is often useful to have a peak hold feature,
   in which case you need a switch to disable the peak hold.
 * You normally have one CHT sensor per cylinder (sometimes two),
   so you either need to have lots of dials, or a switch to select
   among them, or an electronic display to cycle through them, etc.
 * On a racing aircraft, I might be tempted to connect an autothrottle
   to the CHT (with a switch to disable it), just like a lot of acft
   have an autolean that operates the mixture on carburated engines.

 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-27 Thread WillyB
Ah.. ok.. 

C H .. Cylinder Head... go figure!

Thank you Mish :-))

Re's

WillyB


On Saturday 26 July 2003 23:21, Wg Cdr BB Misra, VSM \(Retd\) wrote:
 Willi,
 It is Cylinder Head Temperature.
 - Mish

 - Original Message -
 From: WillyB [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: 27 July, 2003 10:56 AM
 Subject: [Flightgear-devel] Instrument help


 Hi...

 I'm starting to get the instruments onto the Cassutt Racer and came accross
 one that is called CH or C HT or something like that... and I don't have
 any idea what it is...

 I've thought about it but my brain can't come up with the answer so thought
 I'd ask here as most of you probably know ;)

 Here are two photos that I found somewhere out there on the www... and is
 where I found the instrument ref'd.

 http://24.121.17.106/fgfs/cassutt-racer/instruments.html

 TIA for any insight.

 Regards!
 William McRaven

 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel


 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


re: [Flightgear-devel] Instrument help

2003-07-27 Thread David Megginson
WillyB writes:

  I'm starting to get the instruments onto the Cassutt Racer and came
  accross one that is called CH or C HT or something like that... and
  I don't have any idea what it is...

Cylinder Heat Temperature -- it's the main indication of how hot your
engine is running (Exhaust Gas Temperature -- EGT -- is more for
leaning the mixture).  CHT gauges are common on large engines, but
very rare on the little 140-180 hp engines used in entry-level
aircraft.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-27 Thread Arnt Karlsen
On Sun, 27 Jul 2003 08:57:38 -0400, 
David Megginson [EMAIL PROTECTED] wrote in message 
[EMAIL PROTECTED]:

 WillyB writes:
 
   I'm starting to get the instruments onto the Cassutt Racer and came
   accross one that is called CH or C HT or something like that... and
   I don't have any idea what it is...
 
 Cylinder Heat Temperature -- it's the main indication of how hot your
 engine is running (Exhaust Gas Temperature -- EGT -- is more for
 leaning the mixture).  CHT gauges are common on large engines, but
 very rare on the little 140-180 hp engines used in entry-level
 aircraft.

..the Cassutt Racer is hardly an entry-level plane.  ;-) 

..that said, many EAA types cram in some weird instruments 
because I got it cheap and it works and I like it, so 
your best option is simply ask for close-ups.  

..telling 'em about FG _might_ land you an invitation 
to take your own shots of the real bird.  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Instrument help

2003-07-27 Thread WillyB
On Sunday 27 July 2003 07:12, Arnt Karlsen wrote:
 On Sun, 27 Jul 2003 08:57:38 -0400,
 David Megginson [EMAIL PROTECTED] wrote in message

 [EMAIL PROTECTED]:
  WillyB writes:
I'm starting to get the instruments onto the Cassutt Racer and came
accross one that is called CH or C HT or something like that... and
I don't have any idea what it is...
 
  Cylinder Heat Temperature -- it's the main indication of how hot your
  engine is running (Exhaust Gas Temperature -- EGT -- is more for
  leaning the mixture).  CHT gauges are common on large engines, but
  very rare on the little 140-180 hp engines used in entry-level
  aircraft.

 ..the Cassutt Racer is hardly an entry-level plane.  ;-)

 ..that said, many EAA types cram in some weird instruments
 because I got it cheap and it works and I like it, so
 your best option is simply ask for close-ups.

I've emailed the company who makes the Cassutt Racer (and the Sport model).  
The planes are kit planes and you have to put them together yourself :) The 
company told me they would send me more details on the deminsions, but have 
not heard back from them since. :/


 ..telling 'em about FG _might_ land you an invitation
 to take your own shots of the real bird.  ;-)

Now that would be totally Kool!

The pics are from a site about a guy who is documenting building a racer. So 
the panel is from a racer.  I've been lookign for the site I got those photos 
from but have not found it again.. yet ;)

There is also a switch it on the left w/ what looks like 4 positions it and is 
marked as CHT Selected.

I have not seen anywhere stated that there has to be any certain instruments 
onboard, but I know they check the engine out very thouroughly before and 
after the race...  to see how much oil it can hold.. to see the diameter and 
depth of the carb.. etc. There is no room for error in that area and the 
weight has to be the same for all planes.. they add weight to them if they 
are under weight when the pilot is seated in the plane.

It probably takes longer for the pre  post flight checks than for the race 
it'self.

If ther eis a switch for CHT .. would this be so you can manually adjust the 
temp if needed?

Re's

WillyB


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Instrument help

2003-07-26 Thread WillyB
Hi...

I'm starting to get the instruments onto the Cassutt Racer and came accross 
one that is called CH or C HT or something like that... and I don't have any 
idea what it is... 

I've thought about it but my brain can't come up with the answer so thought 
I'd ask here as most of you probably know ;)

Here are two photos that I found somewhere out there on the www... and is 
where I found the instrument ref'd.

http://24.121.17.106/fgfs/cassutt-racer/instruments.html

TIA for any insight.

Regards!
William McRaven

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help: FATAL: ac_to_gl: Unrecognised token under CYGWIN

2003-07-02 Thread Melchior FRANZ
* Innis Cunningham -- Wednesday 02 July 2003 07:55:
 I reported this to Fred in a post on the A320 it is to do with the aircraft 
 texture used.

The bug report suggests, that it is 3D-model problem, not
a texture problem. So it does only happen with the A320?
Then there must be something in a320-fb.ac that cygwin
doesn't grok. 

m.


PS: The idea is not only to identify bugs, but to fix them. ;-)

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help: FATAL: ac_to_gl: Unrecognised token under CYGWIN

2003-07-02 Thread Melchior FRANZ
* Melchior FRANZ -- Wednesday 02 July 2003 08:09:
 The bug report suggests, that it is 3D-model problem, not
 a texture problem. So it does only happen with the A320?

ppe doesn't report texture failures here. If only this was
reproducible here. You aren't familiar with gdb, are you?



 PS: The idea is not only to identify bugs, but to fix them. ;-)

... if possible, that is. Not that I haven't reported numerous
bugs already, without a proper fix.  :-}

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help: FATAL: ac_to_gl: Unrecognised tokenunderCYGWIN

2003-07-02 Thread Melchior FRANZ
* Innis Cunningham -- Wednesday 02 July 2003 08:22:
 Fred. If you could be a little more specific as to were to put d2u.Is it 
 just added to the file name or does it have to be added through out the 
 file.

Fred means to apply the d2u application to the ac file:

  $ d2u a320-fb.ac

This should convert dos line endings to unix line endings.
The program may eventually be called dos2unix.

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: Help: FATAL: ac_to_gl: Unrecognised tokenunder CYGWIN

2003-07-02 Thread Innis Cunningham
The warning I get when I load the A320 into PPE is.
WARNING:  ssgSGIHEADER::: failed to open '.\ a320-fb-af-01.rgb
This may or may not mean anything.
Cheers
Innis
Melchior FRANZ
* Melchior FRANZ -- Wednesday 02 July 2003 08:09:
 The bug report suggests, that it is 3D-model problem, not
 a texture problem. So it does only happen with the A320?
ppe doesn't report texture failures here. If only this was
reproducible here. You aren't familiar with gdb, are you?


 PS: The idea is not only to identify bugs, but to fix them. ;-)

... if possible, that is. Not that I haven't reported numerous
bugs already, without a proper fix.  :-}
m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
_
Hotmail is now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/signup.asp

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] Re: Help: FATAL: ac_to_gl: Unrecognised token under CYGWIN

2003-07-02 Thread Melchior FRANZ
* Innis Cunningham -- Wednesday 02 July 2003 08:33:
 The warning I get when I load the A320 into PPE is.
 WARNING:  ssgSGIHEADER::: failed to open '.\ a320-fb-af-01.rgb
 This may or may not mean anything.^^^

This definitely means something. The '.\ ' looks more than
fishy. But what is causing this? Is this on a FAT file system
with Micros~1's innovative 8+3 support?  :-}

m.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


  1   2   >