[Flightgear-devel] Bug: FG 0.9.8 won't start over land in Britain...
On Thu, 2005-02-17 at 15:09, Steve Hosgood wrote: Sounds bizarre, but this is quite reproduceable: if you *don't* have the w010n50 scenery tile loaded and use the command-line params --lat=51.6 --lon=-4.0 to start FlightGear, then it starts up just fine. However, if you *do* have that scenery tile loaded, fgfs just hangs, displaying the splash screen. This is with stock 0.9.8 FlightGear compiled by me on Fedora core 2 and with Nvidia's standard binary driver. It did it with 0.9.6 too, can't remember about 0.9.4 but I'm fairly sure things worked as expected with 0.9.2 There's more: Command-line params --lat=51.6 --lon=-10.1 *will* allow FlightGear to start, even with the w010n50 scenery tile present (you'll notice that that start location is ouside the scenry tile though). In fact, a start location that *is* inside the scenery tile, but over the sea will also work. After you've got running, you can change your longitude to -4.0 with change internal parameters and there you are, flying toward Swansea Airport in South Wales as you'd expect. This seems so obvious a glitch, yet no-one else seems to be reporting it! Steve Hosgood PS: Lat 51.6, Long 10.1 is over the Atlantic Ocean just west of Ireland. It is of course also outside the named scenery tile. I've not tried a start location over the sea *inside* the tile. I'll get back to y'all on that one ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Bug: FG 0.9.8 won't start over land in Britain...
Quoting Steve Hosgood : On Thu, 2005-02-17 at 15:09, Steve Hosgood wrote: Sounds bizarre, but this is quite reproduceable: if you *don't* have the w010n50 scenery tile loaded and use the command-line params --lat=51.6 --lon=-4.0 to start FlightGear, then it starts up just fine. There is a numerical problem at startup. Try --lat=51.6 --lon=-4.001 -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Bug: FG 0.9.8 won't start over land in Britain...
On Thu, 2005-02-17 at 15:13, Steve Hosgood wrote: PS: Lat 51.6, Long 10.1 is over the Atlantic Ocean just west of Ireland. It is of course also outside the named scenery tile. I've not tried a start location over the sea *inside* the tile. I'll get back to y'all on that one Sorry: poorly edited prototype message! As I'd said earlier, it does start under those conditions. What I don't know is what happens when you start over the sea, but with land in sight. So far my tests have been over land (fails) or well out to sea (works). Steve ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Bug: FG 0.9.8 won't start over land in Britain...
On Thu, 2005-02-17 at 15:28, Frederic Bouvier wrote: There is a numerical problem at startup. Try --lat=51.6 --lon=-4.001 -Fred AAAGH! So simple, and I never tried such a thing! Dammit, I grovelled through the -devel and -users archives for quite a while to see if this was already known (it seemed so glaring a problem). Sorry to waste your time, folks and thank you for the prompt response. Steve. PS: Might I propose the FGFS gods avoid causing pointless grief for newbies and insert a fragment of code in the command-line parsing to the effect of: /* KLUDGE: FIXME: avoid hang when starting on a tile boundary */ if (startup_long == floor(startup_long)) startup_long += 0.0001; if (startup_lat == floor(startup_lat)) startup_lat += 0.0001; (or whatever). ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Bug: FG 0.9.8 won't start over land in Britain...
Quoting Steve Hosgood : Might I propose the FGFS gods avoid causing pointless grief for newbies and insert a fragment of code in the command-line parsing to the effect of: /* KLUDGE: FIXME: avoid hang when starting on a tile boundary */ if (startup_long == floor(startup_long)) startup_long += 0.0001; if (startup_lat == floor(startup_lat)) startup_lat += 0.0001; (or whatever). The tile boundary is not at integral degrees. They can be at .125, .250, .375, .5, .625, .75 and .875 ( every 1/8 of a degree ) -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Bug: FG 0.9.8 won't start over land in Britain...
On Thu, 2005-02-17 at 16:17, Frederic Bouvier wrote: The tile boundary is not at integral degrees. They can be at .125, .250, .375, .5, .625, .75 and .875 ( every 1/8 of a degree ) Ah, it applies at that level does it? I suppose that's logical. OK, may I propose: /* KLUDGE: FIXME: avoid hang when starting on a tile boundary */ if (startup_long*8.0 == floor(startup_long*8.0)) startup_long += 0.0001; if (startup_lat*8.0 == floor(startup_lat*8.0)) startup_lat += 0.0001; Rule #1 of user interface design: don't expose the users to quirks of the implementation. In this case the above hack can be removed if/when anyone ever fixes the underlying tile-boundary problem, but until then it keeps the phone lines quiet at the help desk (!) and serves as a useful comment in the code to the effect that there's a bug to fix. Steve. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Bug: FG 0.9.8 won't start over land in Britain...
On Donnerstag 17 Februar 2005 16:28, Frederic Bouvier wrote: Quoting Steve Hosgood : On Thu, 2005-02-17 at 15:09, Steve Hosgood wrote: Sounds bizarre, but this is quite reproduceable: if you *don't* have the w010n50 scenery tile loaded and use the command-line params --lat=51.6 --lon=-4.0 to start FlightGear, then it starts up just fine. There is a numerical problem at startup. Try --lat=51.6 --lon=-4.001 What numerical problem? Greetings Mathias -- Mathias Fröhlich, email: [EMAIL PROTECTED] ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d