[Flightgear-devel] A simple question

2008-11-28 Thread Hart, Gordon (UK)
Hello all, I'm rather new to Flightgear, and therefore apologise for a rather straightforward question. Basically, with which functions should I convert the aircraft orientation from the angle axis representation that seems to be delivered to the multiplayer server by T_PositionMsg to a

Re: [Flightgear-devel] Performance and initialization patch

2008-11-28 Thread Yon Uriarte
Hi, it seems this message was deleted (over 40k). I cant find it on the archives so im resending it now with a compressed patch. Please ignore if this is a repost. -- this patch tries to speed up airways laoding. The strutils funcions are

[Flightgear-devel] Scenery download

2008-11-28 Thread Fabian Grodek
I've been trying to download scenery from flightgear.org since yesterday without success. Is there any problem with the server? With the aircraft there is no problem. Fabian - This SF.Net email is sponsored by the Moblin Your

Re: [Flightgear-devel] Performance and initialization patch

2008-11-28 Thread Yon Uriarte
Hi, took a quick stab at navaid parsing. Also, i modified strutils::do_strip to avoid calling string::operator[] excessively. Results: Airport load time: 1769 Metar load time: 7 Navaid load time: 349 Airway load time: 726 Airport load time: 1770 Metar load time: 7 Navaid load time: 348 Airway

Re: [Flightgear-devel] A simple question

2008-11-28 Thread Jon S. Berndt
For JSBSim aircraft, there are properties you can read that give the Euler angles you seek. I'd wager the other FDMs have a similar set of properties available. These are the names of the properties sans the FlightGear-generated prefix. I can't recall what that prefix is, but perhaps someone here

Re: [Flightgear-devel] A simple question

2008-11-28 Thread Ron Jensen
On Fri, 2008-11-28 at 12:15 +, Hart, Gordon (UK) wrote: Hello all, I'm rather new to Flightgear, and therefore apologise for a rather straightforward question. Basically, with which functions should I convert the aircraft orientation from the angle axis representation that seems to

Re: [Flightgear-devel] Scenery download

2008-11-28 Thread Ron Jensen
On Fri, 2008-11-28 at 16:13 +0200, Fabian Grodek wrote: I've been trying to download scenery from flightgear.org since yesterday without success. Is there any problem with the server? With the aircraft there is no problem. Fabian The main scenery server is often too busy and won't talk to

Re: [Flightgear-devel] Performance and initialization patch

2008-11-28 Thread Curtis Olson
On Fri, Nov 28, 2008 at 10:18 AM, Yon Uriarte wrote: Hi, took a quick stab at navaid parsing. Also, i modified strutils::do_strip to avoid calling string::operator[] excessively. Results: Airport load time: 1769 Metar load time: 7 Navaid load time: 349 Airway load time: 726 Airport

Re: [Flightgear-devel] Scenery download

2008-11-28 Thread Fabian Grodek
On Fri, Nov 28, 2008 at 6:23 PM, Ron Jensen [EMAIL PROTECTED] wrote: The main scenery server is often too busy and won't talk to anyone else. Try a mirror, like this one: http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Scenery-1.0.1/ Ron Thank you Ron, the link is talking to me !

Re: [Flightgear-devel] Performance and initialization patch

2008-11-28 Thread Yon Uriarte
hi, those are 2 consecutive samples of the new navaid.dat parser. Compare with the times in the previous posts. It has gone down from 520msec to 350msec. Not a big difference on a fast machine, but it was a very easy change. On slower machines it should add up. greetings, yon On Fri, Nov 28,

Re: [Flightgear-devel] Scenery download

2008-11-28 Thread Martin Spott
Fabian Grodek wrote: I've been trying to download scenery from flightgear.org since yesterday without success. Is there any problem with the server? If you're familiar with FlightGear CVS, then you might want to build the new 'terrasync' tool and download your Scenery from the pre-defined SVN

Re: [Flightgear-devel] Call for aircraft nominations

2008-11-28 Thread Durk Talsma
On Sunday 05 October 2008 10:13:54 Durk Talsma wrote: While I'm at it. :-) With each release we include a selection of representative aircraft that highlight FlightGear's capabilities. Inclusion criteria include: Completeness, variability across categories, realism, suitability for demo

Re: [Flightgear-devel] Performance and initialization patch

2008-11-28 Thread Yon Uriarte
Hi, another little detail. In zfstream.cxx the input buffer for reading buffered .gz files is set at page_size (4k). It is my understanding this means files will be read at 4k chunks (uncompressed 4k). By changing the multiplier to 16 (64k) or even 64 i could unscientifically measure a small

Re: [Flightgear-devel] Scenery download

2008-11-28 Thread Fabian Grodek
On Fri, Nov 28, 2008 at 6:52 PM, Martin Spott [EMAIL PROTECTED]wrote: Fabian Grodek wrote: I've been trying to download scenery from flightgear.org since yesterday without success. Is there any problem with the server? If you're familiar with FlightGear CVS, then you might want to build

[Flightgear-devel] Constant property in a JSBSim model

2008-11-28 Thread Fabian Grodek
Hello, I have a JSBSim aircraft model in which, at the beginning of the flight_control block, I defined a constant property as follows: property value=0.80fcs/KSelev/property I need this constant to factor a number of coefficients in the aerodynamics section. Although this seems to work in

Re: [Flightgear-devel] Constant property in a JSBSim model

2008-11-28 Thread Jon S. Berndt
Is this again a factor of using an older version of JSBSim? Check the file, FGFCS.cpp, compared between the latest JSBSim release and the code you are using in FlightGear. If you are using the same code, this should work. Jon From: Fabian Grodek [mailto:[EMAIL PROTECTED] Sent:

Re: [Flightgear-devel] altimeter patch

2008-11-28 Thread Csaba Halász
On Fri, Nov 28, 2008 at 6:57 AM, Syd [EMAIL PROTECTED] wrote: The reason I would like this added , once I find a solution to the listeners writing to each other You could compare the value already in the property to the newly calculated one, and only update if they differ (possibly allowing

Re: [Flightgear-devel] Constant property in a JSBSim model

2008-11-28 Thread gerard robin
On vendredi 28 novembre 2008, Jon S. Berndt wrote: Is this again a factor of using an older version of JSBSim? Check the file, FGFCS.cpp, compared between the latest JSBSim release and the code you are using in FlightGear. If you are using the same code, this should work. Jon

Re: [Flightgear-devel] Performance and initialization patch

2008-11-28 Thread Tim Moore
Yon Uriarte wrote: Hi, logstream.cxx: Modified a bit the logstream implementation to avoid (stack) descent down into (iostream) hell if we are not logging anything anyway. As it is right now, it happily builds the string to print (iostream hell, deep stacks, strings new/delete/copy)