Re: [Flightgear-devel] nan report

2009-04-23 Thread syd adams
The problem is gone here with the last posted patch ... -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report eng

Re: [Flightgear-devel] nan report

2009-04-23 Thread Mathias Fröhlich
Hi, On Tuesday 21 April 2009 02:34:06 gerard robin wrote: > On mardi 21 avril 2009, syd adams wrote: > > Im getting the same messages at startup , at any airport I try , > > but usually it stops after an exit and restart. > > I thought it was something local since no one on IRC had the same > >

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread syd adams
Just a note : I applied the last patch posted here and success ! No more warnings so far ,with the 777-200, at least. I'll try more. -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licens

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread syd adams
On Thu, Apr 23, 2009 at 12:29 PM, Alex Romosan wrote: > syd adams writes: > > > I tried this but no luck here Im still getting this message > > about every second: > > > > Warning: invalid line segment passed to > IntersectVisitor::addLineSegment(..) > > nan nan 3.87514e+06 nan nan

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Patrice Poly
udpated the patch again, with another Nan killer from jano. That seems to have worked for him, at least http://www.bentha.net/fgfs/ridge-lift/Environment.diff.bz2 -- Crystal Reports - New Free Runtime and 30 Day Trial Che

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Patrice Poly
so here comes another attempt to reduce these error to silence : line 238 : if ( alt > 0.1 ) { probe_elev_m[i] = alt; } else { probe_elev_m[i] = 0.1 ;}; lines 319-321 for desperate cases : strength = lift_mps * SG_METER_TO_FEET ; if(isnan(strength)) strength=0; _ridge_lift_fps_node->setDouble

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Alex Romosan
syd adams writes: > I tried this but no luck here Im still getting this message > about every second: > > Warning: invalid line segment passed to IntersectVisitor::addLineSegment(..) > nan nan 3.87514e+06 nan nan 3.85687e+06 segment ignored. i think this depends on the version of o

[Flightgear-devel] Mouse cursor showing mode again in Windows version

2009-04-23 Thread Frederic Bouvier
Hi friends, just a quick note to tell that I found the bug in OSG that prevent the cursor to change shape and display the current input mode. I submitted the fix to Robert, and uploaded a new fg win32 binary with the not yet official fix at the usual location. Enjoy ;-) -Fred -- Frédéric Bou

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread syd adams
I tried this but no luck here Im still getting this message about every second: Warning: invalid line segment passed to IntersectVisitor::addLineSegment(..) nan nan 3.87514e+06 nan nan 3.85687e+06 segment ignored. > i tested : > > _ridge_lift_fps_node->setDoubleValue( 0 ); > > > >

Re: [Flightgear-devel] Fatal error: name must begin with alpha or '_'

2009-04-23 Thread John Waget
thank you ! I will try another cvs update! -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for exter

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Detlef Faber
Am Donnerstag, den 23.04.2009, 17:43 +0200 schrieb jean pellotier: > Patrice Poly a écrit : > > the fix, as a patch > > > > http://www.bentha.net/fgfs/ridge-lift/Environment.diff.bz2 > > > > hope this works... > > > > > nope, same behaviour!! > > i think that on my "slow" PC, your ridge lift is

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Ron Jensen
On Thu, 2009-04-23 at 10:56 -0600, Ron Jensen wrote: > On Thu, 2009-04-23 at 11:56 -0400, Patrice Poly wrote: > > > nope, same behaviour!! > > > > > > i think that on my "slow" PC, your ridge lift is sometimes initialised a > > > little to early (while position is 0,0,0 maybe), resulting in some na

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Ron Jensen
On Thu, 2009-04-23 at 11:56 -0400, Patrice Poly wrote: > > nope, same behaviour!! > > > > i think that on my "slow" PC, your ridge lift is sometimes initialised a > > little to early (while position is 0,0,0 maybe), resulting in some nan > > in the result of terrain scan, wich lead to a "nan" in >

[Flightgear-devel] Adding AIs while FG execution.

2009-04-23 Thread James Bond
Hi every one, I want to use the AIManager to add AIs to FlightGear while it run. I added a subSystem to receve the modele and the calssing of the object to load, i used the AIManager Attach methode but i dosn't work. SOS. Vuris. --

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Patrice Poly
> nope, same behaviour!! > > i think that on my "slow" PC, your ridge lift is sometimes initialised a > little to early (while position is 0,0,0 maybe), resulting in some nan > in the result of terrain scan, wich lead to a "nan" in > /environment/ridge-lift-fps. > > and as it's used to compute the

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread jean pellotier
Patrice Poly a écrit : > the fix, as a patch > > http://www.bentha.net/fgfs/ridge-lift/Environment.diff.bz2 > > hope this works... > > nope, same behaviour!! i think that on my "slow" PC, your ridge lift is sometimes initialised a little to early (while position is 0,0,0 maybe), resulting in s

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Patrice Poly
> Can you please send a diff to current cvs? its in the previous post I made. Sorry, I messed up a bit with mail this morning... -- Stay on top of everything new and different, both inside and around Java (TM) technolo

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Torsten Dreyer
> I posted the correct version to > www.bentha.net/fgfs/ridge-lift/ridge-lift-in-environment.zip Can you please send a diff to current cvs? Torsten -- Stay on top of everything new and different, both inside and around

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Patrice Poly
so, a possible fix : line 218-220 should be : probe_lon_rad[i] = fmod((deg2rad*user_longitude_deg+asin(sin(ground_wind_from_rad) *sin(dist_probe_m[i]/earth_rad_m)/cos(probe_lat_rad[i]))+PI)

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Patrice Poly
the fix, as a patch http://www.bentha.net/fgfs/ridge-lift/Environment.diff.bz2 hope this works... This includes the correction for the lee side, according to Ian's advice based on real fly. -- Stay on top of everything

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Patrice Poly
so, a possible fix : line 218-220 should be : probe_lon_rad[i] = fmod((deg2rad*user_longitude_deg+asin(sin(ground_wind_from_rad) *sin(dist_probe_m[i]/earth_rad_m)/cos(probe_lat_rad[i]))+PI)

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Erik Hofman
gerard robin wrote: > Yes it is difficult to trap these nan which are coming ( + or - > randomly ? ? ? , though, getting trouble with carrier) ), and when we get it > the system is closed to be frozen , with black screen, and command line > overflowed with messages. > And when i tried with

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread gerard robin
On jeudi 23 avril 2009, Martin Spott wrote: > Stuart Buchanan wrote: > > I've been seeing this every time I load on Ubuntu Hardy. I'm 90% sure > > that the ridge-lift enhancement is the root cause - it's the only > > source change that went in when I rebuilt last. > > We've occasionally seen lots o

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Martin Spott
Stuart Buchanan wrote: > I've been seeing this every time I load on Ubuntu Hardy. I'm 90% sure > that the ridge-lift enhancement is the root cause - it's the only > source change that went in when I rebuilt last. We've occasionally seen lots of NaN's before addition of the ridge-lift as well and

Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Stuart Buchanan
Patrice Poly wrote: > > I'm a bit at lost for now, as I really don't see any NaN anymore here, and > don't have another platform to test on. > > I would be interested to see on which platforms / configuration this happens, > maybe when more feedback comes in ?? I've been seeing this every ti