Re: [Flightgear-devel] Generic Protocol (generic.cxx etc) - Binary Mode
Hugo Vincent wrote: I also updated OpenGC for this change and made a OpenGC.xml protocol file, but it appears the OpenGC project is more or less dead. Also, Network/opengc.cxx is a bit of a mess and seemingly unmaintained; it might be nice to get rid of it and replace it with a XML file at some stage. One approach is to directly replace opengc.cxx with an XML file that emulates the structure of the ogcFGData class, - however different compilers probably pad the variables in the class differently (for alignment/efficiency), so a patch to OpenGC does need to be made. If anyone wants the generic binary mode patch, or better yet, wants to add it into the main FlightGear repository, reply (to the list). Also, if anyone else has uses or requirements for binary protocols, let discuss them here, so that we can make generic binary support as broad and applicable as possible. I think it would be valuable, exactly for the reason mentioned above. Erik -- http://www.ehtw.info (Dutch)Future of Enschede Airport Twente http://www.ehofman.com/fgfs FlightGear Flight Simulator --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Re: Textures Part II.
* Martin Spott -- Sunday 23 April 2006 23:17: I'm now using a TFT after a customer opted to pay in kind - and I want to tell you that the difference in displaying colours between CRT and TFT, even if they both settle in the high-quality/-price region, is huge, There's a reason why hardly any graphics professional uses a flatscreen for his work. Those people insist on CRTs. My CRT was quite cheap, and doesn't seem to have a linear voltage/brightness curve, but colors are OK. m. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: Textures Part II.
Melchior FRANZ wrote: There's a reason why hardly any graphics professional uses a flatscreen for his work. Those people insist on CRTs. My CRT was quite cheap, and doesn't seem to have a linear voltage/brightness curve, but colors are OK. Last year on the LinuxTag I met Harald Koenig again - formerly known as Mr. S3 :-) He was displaying a system for handling and employing colour management profiles. Maybe we can elaborate a recommendation for how to calibrate FlightGear users' screens. Currently I only know of such systems for commercial operating systems (IRIX, MacOS, Windows, ), Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Speed discontinuity
On Wed, 2006-04-19 at 21:20 -0600, Ron Jensen wrote: The approach to my favorite airport (KHIF runway 14) passes over another airport (KODG) with metar weather. As a result I almost always see a major weather shift on very short final. Ron Hi Ron, I can see why you like the airport. The terrain around KHIF is superb. :-) Regards George --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Speed discontinuity
On Wed, 2006-04-19 at 21:20 -0600, Ron Jensen wrote: On Tue, 2006-04-18 at 20:14 -0400, Ampere K. Hardraade wrote: On Wednesday 19 April 2006 01:21, John Wojnaroski wrote: A change that large (13 knots!!) is a major wind shear. Might it make sense to provide some sort of filtering or extrapolation between stations to moderate such extreme changes Regards John W. I also find it extremely annoying. This also relates to the why does my aircraft jerk suddenly question that we get occasionly. Some people like to think that it is some sort of turbulence, but the not-very-well-thought-out weather simulation routine is the most likely suspect. As John said, instead of relying on just one set of data from a single station, it might make sense to take data from all the surrounding stations and perform some extrapolation. Ampere Or perhaps perform an interpolation over several seconds when updating/changing the weather? The approach to my favorite airport (KHIF runway 14) passes over another airport (KODG) with metar weather. As a result I almost always see a major weather shift on very short final. Ron I have captured the metar strings when I fly from the default runway from KHIF passing over KODG (as a guess). Total flighttime was only a matter or minutes in a b1900d. 2006/04/24 17:55 KHIF 241755Z 07014G22KT 7SM FEW030 BKN060 BKN100 08/M02 A2996 RMK SLP133 ALSTG ESTMD SLP ESTMD WR// P DRY 51003 2006/04/24 17:53 KOGD 241753Z 33005KT 10SM SCT050 09/01 A3000 RMK AO2 RAB1655E04 SLP139 P 60001 T00940011 10100 20056 51013 2006/04/24 17:55 KHIF 241755Z 07014G22KT 7SM FEW030 BKN060 BKN100 08/M02 A2996 RMK SLP133 ALSTG ESTMD SLP ESTMD WR// P DRY 51003 The weather changes were very sudden with the aircraft jerking as the plane cross weather zone boundaries. Regards George --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] A SenecaII for FlightGear: first version available
Hi all, it's been a while, since I announced the model for a Seneca. It is a *LOT* more work, than I expected it to be so it took a lot longer than I thought. But I think I can show you what I have so far: http://www.t3r.de/fg/seneca/ The site gives you a something to look at and a downloadable version. This should be considered a before-pre-alpha-preview release with lots of work-in-progress and under-construction items. But there is also a lot to see already. If anybody wants to give it a try, I whould be happy to get some comments. Greetings, Torsten --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] ILS a KPMD
Got the ILS licked now and it certainly works ok at KPMD using your settings 110.7 for NAV1 and 114.5 for DME Regards, Justin Smithies On Monday 24 April 2006 20:05, John Wojnaroski wrote: Hi, If someone has a moment, would you mind flying the ILS to 25 at Palmdale, KPMD; ILS is 110.7 and VOR/DME is 114.5 Altitude at the marker is 4500' Just want to confirm that it works or not. The outer marker appears to be at the correct altitude but the glideslope seems to be off, at least on my system Regards John W. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: Textures Part II.
Martin Spott wrote: Melchior FRANZ wrote: There's a reason why hardly any graphics professional uses a flatscreen for his work. Those people insist on CRTs. My CRT was quite cheap, and doesn't seem to have a linear voltage/brightness curve, but colors are OK. Last year on the LinuxTag I met Harald Koenig again - formerly known as Mr. S3 :-) He was displaying a system for handling and employing colour management profiles. Maybe we can elaborate a recommendation for how to calibrate FlightGear users' screens. Currently I only know of such systems for commercial operating systems (IRIX, MacOS, Windows, ), Getting the gamma correctly set is a good start. Something like this will help: http://www.photoscientia.co.uk/Gamma.htm If, like some of my monitors you can't actually get it calibrated properly, then it's probably time to get yourself a new monitor - it won't be doing your eyes any good (ancient monitors here are just relegated to server use). Jon --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] ILS a KPMD
Thanks Justin, Sounds like I need to check Robin Peel's database. using an older version and have not upgraded the sim side to stay in sync with the FG side. Regards John W. Justin Smithies wrote: Got the ILS licked now and it certainly works ok at KPMD using your settings 110.7 for NAV1 and 114.5 for DME Regards, Justin Smithies On Monday 24 April 2006 20:05, John Wojnaroski wrote: Hi, If someone has a moment, would you mind flying the ILS to 25 at Palmdale, KPMD; ILS is 110.7 and VOR/DME is 114.5 Altitude at the marker is 4500' Just want to confirm that it works or not. The outer marker appears to be at the correct altitude but the glideslope seems to be off, at least on my system Regards John W. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: Textures Part II.
On Mon, 24 Apr 2006, Jon Stockill wrote: Martin Spott wrote: Last year on the LinuxTag I met Harald Koenig again - formerly known as Mr. S3 :-) He was displaying a system for handling and employing colour management profiles. Maybe we can elaborate a recommendation for how to calibrate FlightGear users' screens. Currently I only know of such systems for commercial operating systems (IRIX, MacOS, Windows, ), Getting the gamma correctly set is a good start. Something like this will help: http://www.photoscientia.co.uk/Gamma.htm If, like some of my monitors you can't actually get it calibrated properly, then it's probably time to get yourself a new monitor - it won't be doing your eyes any good (ancient monitors here are just relegated to server use). On Linux with X11 (and perhaps on other systems using X11) monica http://www.pcbypaul.com/software/monica.html seems to be a quite useful program for adjusting the system gamma setting. It was easy to install too. /Anders -- Luck is my middle name, said Rincewind, indistinctly. Mind you, my first name is Bad. -- (Terry Pratchett, Interesting Times) --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] [PATCH] simgear patch that fixes my whole last no sound fix
In simgear/sound/soundmgr_openal.cxx, working is never set to true for openal/alut version = 1 if it worked. This should fix my last fix. And please make sure to reapply the fix in FGFX::play_message before testing/committing. Thanks. Pigeon. Index: simgear/sound/soundmgr_openal.cxx === RCS file: /var/cvs/SimGear-0.3/source/simgear/sound/soundmgr_openal.cxx,v retrieving revision 1.23 diff -u -r1.23 soundmgr_openal.cxx --- simgear/sound/soundmgr_openal.cxx 8 Mar 2006 18:16:09 - 1.23 +++ simgear/sound/soundmgr_openal.cxx 24 Apr 2006 22:33:16 - @@ -91,8 +91,13 @@ SG_LOG( SG_GENERAL, SG_ALERT, Audio initialization failed! ); SG_LOG( SG_GENERAL, SG_ALERT,+string(alutGetErrorString(error))); working = false; +context = 0; +} +else +{ +working = true; +context = alcGetCurrentContext(); } -context = alcGetCurrentContext(); #else if ( (dev = alcOpenDevice( NULL )) != NULL ( context = alcCreateContext( dev, NULL )) != NULL ) {
Re: [Flightgear-devel] Re: Textures Part II.
On Monday 24 April 2006 12:16, Martin Spott wrote: Melchior FRANZ wrote: There's a reason why hardly any graphics professional uses a flatscreen for his work. Those people insist on CRTs. My CRT was quite cheap, and doesn't seem to have a linear voltage/brightness curve, but colors are OK. Last year on the LinuxTag I met Harald Koenig again - formerly known as Mr. S3 :-) He was displaying a system for handling and employing colour management profiles. Maybe we can elaborate a recommendation for how to calibrate FlightGear users' screens. Currently I only know of such systems for commercial operating systems (IRIX, MacOS, Windows, ), Martin. Being able to calibrate FG's display would be a useful and professional feature. As to how it would be done though... LeeE --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Generic Protocol (generic.cxx etc) - Binary Mode
Thanks Erik, Here is the patch. Let me know what needs to be changed, fixed, or refactored before it can go into CVS. Note that at this point, the binary protocol is output only. Also attached is a really simple protocol to test the patch (bintest.xml). Run FGFS with: $ fgfs ... --generic=file,out,24,bintest_out,bintest As well, there is a Python script (sorry, the script is a horribly dirty hack) to decode and print the results. Execute it with: $ python test_decode.py To do list for the generic binary support: * use ntohl() etc to make the protocol independent of host endianess. * add CRC checksum as a possible packet footer * add binary input support * test thoroughly Cheers, Hugo Vincent On Mon, 2006-04-24 at 09:59 +0200, Erik Hofman wrote: Hugo Vincent wrote: I also updated OpenGC for this change and made a OpenGC.xml protocol file, but it appears the OpenGC project is more or less dead. Also, Network/opengc.cxx is a bit of a mess and seemingly unmaintained; it might be nice to get rid of it and replace it with a XML file at some stage. One approach is to directly replace opengc.cxx with an XML file that emulates the structure of the ogcFGData class, - however different compilers probably pad the variables in the class differently (for alignment/efficiency), so a patch to OpenGC does need to be made. If anyone wants the generic binary mode patch, or better yet, wants to add it into the main FlightGear repository, reply (to the list). Also, if anyone else has uses or requirements for binary protocols, let discuss them here, so that we can make generic binary support as broad and applicable as possible. I think it would be valuable, exactly for the reason mentioned above. Erik bintest.xml Description: application/xml Index: Protocol/README.Protocol === RCS file: /var/cvs/FlightGear-0.9/data/Protocol/README.Protocol,v retrieving revision 1.2 diff -u -p -r1.2 README.Protocol --- Protocol/README.Protocol 22 Jun 2003 08:02:28 - 1.2 +++ Protocol/README.Protocol 25 Apr 2006 01:19:39 - @@ -1,5 +1,5 @@ The generic communication protocol for FlightGear provides a powerfull way -of adding a simple ASCII based output only protocol, just by defining an +of adding a simple ASCII based or binary protocol, just by defining an XML encoded configuration file. The definition of the protocol consists of variable separators, line separators, @@ -16,8 +16,9 @@ Each chunck defines: %s string %i integer (default) %f float + (not used or needed in binary mode) -factor an optionale multiplication factor which can be used for +factor an optional multiplication factor which can be used for unit conversion. (for example, radians to degrees). offset an optional offset which can be used for unit conversion. (for example, degrees Celsius to degrees Fahrenheit). @@ -44,6 +45,16 @@ any other charachters just need to be ad The var_separator is placed between each variable, while the line_separator is placed at the end of each lot of variables. +To enable binary mode, simply include a binary_modetrue/binary_mode tag in +your XML file. The format of the binary output is tightly packed, with 1 byte for +bool, 4 bytes for int, and 8 bytes for double. At this time, strings are not +supported. A configurable footer at the end of each line or packet of binary +output can be added using the binary_footer tag. Options include the length +of the packet, a magic number to simplify decoding. Examples: + + binary_footermagic,0x12345678/binary_footer + binary_footerlength/binary_footer + binary_footernone/binary_footer !-- default -- A simple protocol configuration file then could look something like the following: @@ -57,6 +68,7 @@ following: output line_separatornewline/line_separator var_separatornewline/var_separator + binary_modefalse/binary_mode chunk namespeed/name Index: src/Network/generic.cxx === RCS file: /var/cvs/FlightGear-0.9/source/src/Network/generic.cxx,v retrieving revision 1.17 diff -u -p -r1.17 generic.cxx --- src/Network/generic.cxx 9 Mar 2006 21:41:51 - 1.17 +++ src/Network/generic.cxx 25 Apr 2006 01:41:26 - @@ -79,51 +79,99 @@ FGGeneric::~FGGeneric() { // generate the message bool FGGeneric::gen_message() { - string generic_sentence; char tmp[255]; +length = 0; double val; for (unsigned int i = 0; i _out_message.size(); i++) { -if (i 0) +if (i 0 !binary_mode) generic_sentence += var_separator; switch (_out_message[i].type) { case FG_INT: val = _out_message[i].offset + _out_message[i].prop-getIntValue() * _out_message[i].factor; -snprintf(tmp, 255, _out_message[i].format.c_str(), (int)val); +if (binary_mode) { +
[Flightgear-devel] SoC
http://code.google.com/soc/ Is anybody here an eligible student? Would anyone like to offer to mentor? --- [This E-mail scanned for viruses by Declude Virus] --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel