Re: [Flightgear-devel] fg crashes sometimes
hi everybody, i have some crash with fg when my pc lost the network connection. in general it's just a few seconds. -- Didier Fabert [EMAIL PROTECTED] KFreeFlight project : A FlightGear GUI-Frontend designed for KDE users http://kfreeflight.sourceforge.net - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] shut off fading in
Well, by digging through the code I found what is responsible for the fading. It's in src/Main/renderer.cxx from line 752 on. Just commenting out these lines killed the fading-in-behaviour. For some reason, the --enable-freeze option doesnt seem to work, which is why I simply press p while FlightGear is loading scenery objects. That way, FG starts without fading and without a loss of framerate showing in pause-mode and I can adjust the view or whatever and then take off. Just in case anyone is looking for the same question someday in the mailing list's archive... Thank you for your help, Best, Thomas Fred, Richard, Could you start with --enable-freeze (I think it is, it might be --enable-pause) and then unpause the sim when the screen is ready for you? Try: fgfs .-prop:/sim/freeze/clock=true --prop:/sim/freeze/master=true - --prop:/sim/sceneryloaded-override=true instead of --enable-freeze. It's not perfect, but it improves the situation for me. You can wait till everything seems to be loaded and then unpause. The screen will come immediately after that and you can start to react as soon as the sim starts. Nine - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] SenecaII: update available
Hi all, here is (yet) another brandnew update for the Seneca: http://www.t3r.de/fg/seneca/SenecaII-2006.11.23.tar.bz2 or linked to from the corresponding page http://www.t3r.de/fg/seneca/ Changes: - Fixed bug in HSI, wrong deflection of glideslope indicator and transparency issue - Added Roberto Inzerillo's nice nose gear and animations, new main gear Thanks to Roberto for his beautiful gear model and animation code! Greetings, Torsten - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] fgfs + gaia (google earch client) = moving map
Today I tried the free Google Earth client gaia for the first time (http://gaia.serezhkin.com/) and connected it to FlightGear: $ mkfifo /tmp/gaia $ fgfs --garmin=file,out,0.1,/tmp/gaia --aircraft=ufo $ gaia --gps=nmea:///tmp/gaia This makes a nice moving map. OK, it's not moving yet, but you see a trace of red dots in a full resolution Google Earth data window. I'm not happy with the update speed yet, but that should be easy to fix. (I think that gaia always stops sharpening the image when a new nmea package comes in.) Blurry screenshot (due to low jpeg quality; the red cursor in the lower half is much easier to see): http://members.aon.at/mfranz/fgfs-gaia.jpg [18 kB] m. PS: cc to the gaia author. Thanks for that wonderful program! see here for info about fgfs: http://www.flightgear.org/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] fgfs + gaia (google earch client) = moving map
* Melchior FRANZ -- Thursday 23 November 2006 15:17: PS: cc to the gaia author. Thanks for that wonderful program! see here for info about fgfs: http://www.flightgear.org/ And that was a good idea ... within minutes I got a reply: |$ gaia --gps=nmea:///tmp/gaia | Wow! I wasn't aware of that ability of flight gear. Coool :) | This makes a nice moving map. OK, it's not moving yet, but you | Following GPS marker, TODO added. ... | That shouldn't happen. I'll test it. So he apparently knows fgfs and can probably test gaia with it himself. Bright future ahead. (Until Google's attorney rings, that is. ;-) m. PS: I hate it if I mis-spell the subject. earch? :-} - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] fgfs + gaia (google earch client) = moving map
Melchior FRANZ schreef: * Melchior FRANZ -- Thursday 23 November 2006 15:17: PS: cc to the gaia author. Thanks for that wonderful program! see here for info about fgfs: http://www.flightgear.org/ And that was a good idea ... within minutes I got a reply: |$ gaia --gps=nmea:///tmp/gaia | Wow! I wasn't aware of that ability of flight gear. Coool :) | This makes a nice moving map. OK, it's not moving yet, but you | Following GPS marker, TODO added. ... | That shouldn't happen. I'll test it. So he apparently knows fgfs and can probably test gaia with it himself. Bright future ahead. (Until Google's attorney rings, that is. ;-) m. Too bad the 'original' Google Earth can't take NMEA data. Would make a great in-car navigation solution... (Since Google Earth also has trip planning abilities). Which would also need all the Google Earth terrain data to be available offline, fx. on a DVD. Not sure if Keyhole is looking into using their software as this type of tool. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] gear strut compression animation
Roberto Inzerillo asked if anyone was working on gear strut compression animation. I spent two evenings adding this to the pa24-250 model for all three gear including animation of the scissors that keep the fork aligned. The required computation was done in Nasal. It include solving the nonlinear equation (H - C)/2L = sin(phi - theta) for theta (the rotation angle of the links of the scissors in radians) where phi = angel between link and perp. to the strut (radians) H = dist. in meters between top link attach and bottom link attach C = /gear/gear[i]/compression-m L = length of links To make the computation efficient (it is in the main nasal loop), I used the 4th order Taylor series for sin() and two iterates of Newton's method to solve for theta giving the simple rational expression theta = phi - 2a/3 -a/3((1-a^2) where a= (H - C)/2L I will submit this to CVS after I complete some other model clean-up later today. Here is a snipit from the nasal file: ## # Save the angle the nose gear scissors links rotate due to nose gear strut compression ## # Nose gear oleo strut extended length in m h0 = 0.202; # Nose gear sczor length in m L0 = 0.134; phi0 = 0.8537; comp = getprop(gear/gear[0]/compression-m); a = (h0-comp)/(2*L0); # Use 2 iterates of Newton's method and 4th order Taylor series to approximate theta0 where sin(phi - theta0) = a theta0 = phi0 - 2*a/3 - a/(3*(1-a*a/2)); Hope others can use this. -- Dave Perry [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Some documentation for the SenecaII
Hi I am currently working on some documentation for the SenecaII aircraft to make it usable for those who have no idea why this beast is not doing what they want. First, there is a little reference for the instruments and controls: http://wiki.flightgear.org/flightgear_wiki/index.php?title=Seneca_II_Panel_Reference And a little HOWTO about flying the Seneca with many screenshots. This is not complete yet. There is a VFR part for basics and I will add an IFR part with some procedures in the near future and a part for single engine flying later on. The url for the HOWTO is http://wiki.flightgear.org/flightgear_wiki/index.php?title=Seneca_II_HOWTO If there are some dumb typos or some nonsens sentences, please feel free to place a correction. I hope this is of some use. Greetings, Torsten - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] gear strut compression animation
Dave Perry wrote: Roberto Inzerillo asked if anyone was working on gear strut compression animation. I spent two evenings adding this to the pa24-250 model for all three gear including animation of the scissors that keep the fork aligned. The required computation was done in Nasal. It include solving the nonlinear equation (H - C)/2L = sin(phi - theta) for theta (the rotation angle of the links of the scissors in radians) where phi = angel between link and perp. to the strut (radians) H = dist. in meters between top link attach and bottom link attach C = /gear/gear[i]/compression-m L = length of links To make the computation efficient (it is in the main nasal loop), I used the 4th order Taylor series for sin() and two iterates of Newton's method to solve for theta giving the simple rational expression theta = phi - 2a/3 -a/3((1-a^2) where a= (H - C)/2L I will submit this to CVS after I complete some other model clean-up later today. Here is a snipit from the nasal file: ## # Save the angle the nose gear scissors links rotate due to nose gear strut compression ## # Nose gear oleo strut extended length in m h0 = 0.202; # Nose gear sczor length in m L0 = 0.134; phi0 = 0.8537; comp = getprop(gear/gear[0]/compression-m); a = (h0-comp)/(2*L0); # Use 2 iterates of Newton's method and 4th order Taylor series to approximate theta0 where sin(phi - theta0) = a theta0 = phi0 - 2*a/3 - a/(3*(1-a*a/2)); Hope others can use this. It would be handy to have this abstracted in the $FG_ROOT/Nasal directory so that it could just be called once for each oleo. h0, L0 and phi0 would have to be saved as properties for the function to read, but it would be much easier for subsequent model builders to use that way. Josh - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] fg crashes sometimes (probably in groundnetwork.cxx )
Durk Talsma a écrit : Okay, that seems a reasonable request, which I can do, provided no ill side effects show up on my development box. Still, I'd be interested in the expert opinion of another C++ coder who's more familiar with MSVC than I am. I thing comparing iterators on different containers is at least meaningless, if not illegal, even if the containers are of the same type. At line 807 of groundnetwork.cxx, current is an iterator on activeTraffic, and i is an iterator on towerController-getActiveTraffic() HTH -Fred -- Frédéric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] sending external fdm data in the form of UDPpackets
What is the difference if I implement a structure given in net_fdm_mini.cxx source code and send this struct as a UDP packet for interfacing with Flightgear?or is it necessary to use complete structure given in net_fdm.cxx? I have taken a look at native_fdm.cxx file also and found that we have to do htonl or htonf before sending the packets..is it necessaryI am a newbie in this area...I also would like to know about what are the padding differences and network byte order mean? On 11/23/06, Jorge Van Hemelryck [EMAIL PROTECTED] wrote: On Wed, 22 Nov 2006 15:20:08 +0530 umesh pandey wrote: I checked using Flightgear 0.9.8 but could not run it successfully.Thefew lines of log data are as follows: snip I am also using correct command to start FGFS with external fdm: D:\FlightGear 0.9.3\bin\Win32\FGFS.EXE--native-fdm=socket ,in,30,,5500,udp --fdm=external Can you confirm that FLightGear is running, but waiting UDP packets, probably in the middle of the ocean (lat=0, lon=0) ? I can't remember if version 0.9.3 already had several log levels. Maybe not. Anyway, it should reach a point where it announces that it is opening a socket to listen on. Then, it would be nice to check several things concerning the fdm_data. First of all, your version of the protocol and of the struct definition seems wrong. You should have FGNetVersion = 13, and some variables are missing. If you don't have the source code for FlightGear and are just running a binary, get the source code for the exact version you use, and look at src/Network/net_fdm.hxx. Note that it is C++ code, and it is the only file to look at if you use 0.9.3. You will have a net_fdm.h, in C, if you get a more recent version of FlightGear, and using this C file should be even easier. If it still doesn't work, check that your definition is correctly adapted from the source code (net_fdm.h[xx]). Check the size of the struct you send. I had that problem using UDP packets I sent from an IRIX machine to 0.9.3 running on a Windows or Linux PC, the struct was too big because of the enum I had left in the middle of the declaration. Hope some of all this turns out to be helpful... -- Jorge Van Hemelryck - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Using FG for class presentation
My group and I are going to have a presentation on the Concorde's crash (Air France Flight 4590) next week in our Engineering Ethic class, and I am thinking whether I should include FG to spice up our presentation... My idea is to show the event of the crash within FlightGear, and if possible, play the audio file from the CVR in the background and using the nasal to display the subtitles. If I am to go for this, how should I preceed? Thanks in advance, Ampere - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel