Re: [Flightgear-devel] C problem (error: invalid use of void expression) in app_fgcom - can anyone help?

2009-05-15 Thread Anders Gidenstam
On Fri, 15 May 2009, Holger Wirtz wrote: Hi, sorry this may be a little bit OT, but I have a question for the C experts. For app_fgcom (the upcomming radio emulation code for Asterisk) I need to generate sound frames with white noise. How to generate them is not the problem - I know also

Re: [Flightgear-devel] C problem (error: invalid use of void expression) in app_fgcom - can anyone help?

2009-05-15 Thread Holger Wirtz
Hi Anders, Anders Gidenstam wrote: [...] You need to cast the void* pointer into a short* pointer first, so that the compiler knows the size and type of your array elements. short* data = (short *)noise_f-data; for(i=AST_FRIENDLY_OFFSET;inoise_f-samples+AST_FRIENDLY_OFFSET;i++) {

[Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread Bertrand Coconnier
Hi all, Not sure it is the right mailing list to post this but I have made a patch to activate the reverse on the 737-300 of FlightGear. I have seen on FG Wiki that David Culp and Innis Cunningham are the authors of the 737 model so I have put Dave on copy of this e-mail. However I do not know

Re: [Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread Heiko Schulz
Hi, Some time ago, I started to improve the 737-300. I let it stall: no times, experiences I had with the developement of the c172p and some personal things. I have still a copy on my local system but give up developement There are some people which have my model, but what they do with it- no

Re: [Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread Gene Buckle
The thrust reversers require that you go to idle power to engage them. However, after that you can run the power back up. In the real aircraft there is no indication that the reversers are on. This is because the reverser lever is attached to the throttle arm for each engine. To activate

Re: [Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread Heiko Schulz
Indeed- no indicator. There is only a indicator if the reverser is unlocked- I mistook this. The thrust reversers require that you go to idle power to engage them. However, after that you can run the power back up. In the real aircraft there is no indication that the reversers are on.

[Flightgear-devel] Progress report on the infamous error in TriangleIntersect NAN Problem

2009-05-15 Thread Durk Talsma
Hi All, Thanks to a report by regular Forum poster MD-TERP (a.k.a. Rob), we found a way to trigger the infamous NaN warning in a rather reliable manner. Following up on this lead, I modified OpenSceneGraph so that it deliberately segfaults when the warning message is triggered (I know, I could

Re: [Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread Gene Buckle
There are reverse REV indications in the cockpit located above the N1 gauges and digital readout window on the EICAS display. To deploy the Is that indication present on the -200 series? If so, I'd never noticed it. :) That's the only model I have experience with (specifically the

Re: [Flightgear-devel] Progress report on the infamous error in TriangleIntersect NAN Problem

2009-05-15 Thread Curtis Olson
Here is a quick thought (not having thought this all the way through.) Originally we only queried the altitude of a single point beneath out aircraft. As we've move forward, we now have created a cache of local triangles and can query the altitude of each wheel and contact point. But also we

Re: [Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread John Wojnaroski
Gene Buckle wrote: There are reverse REV indications in the cockpit located above the N1 gauges and digital readout window on the EICAS display. To deploy the Is that indication present on the -200 series? If so, I'd never noticed it. :) That's the only model I have experience with

Re: [Flightgear-devel] Progress report on the infamous error in TriangleIntersect NAN Problem

2009-05-15 Thread Heiko Schulz
Hi, interesting to see that a small instruments can make such big troubles. What me wonders: Aircraft/Instruments-3d/mag-compass.xml isn't only used by the c172p than by other aircrafts as well. I think the pa24-250 is another user of this. Does this aircrafts also cause this NaN-errors? I

Re: [Flightgear-devel] Progress report on the infamous error in TriangleIntersect NAN Problem

2009-05-15 Thread Durk Talsma
Hi, On Friday 15 May 2009 20:10:01 Heiko Schulz wrote: Hi, interesting to see that a small instruments can make such big troubles. What me wonders: Aircraft/Instruments-3d/mag-compass.xml isn't only used by the c172p than by other aircrafts as well. I think the pa24-250 is another user of

Re: [Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread Gene Buckle
The info was only for 737's with glass. Imagine the mechanical stuff and sequencing is the same, but the cockpit displays could be totally different for older models, even non-existent as Gene pointed out. Ahh, ok. I'll have to see if I've got a 737 N1 indicator I can tear down and see if

Re: [Flightgear-devel] Progress report on the infamous error in TriangleIntersect NAN Problem

2009-05-15 Thread Heiko Schulz
Seems my first answer failed with the c172p.ac attached.. I removed some double vertices on the interior-object, and I hope this was the cause for the trouble. You will find the improved here: http://gitorious.org/c172p command: git clone git://gitorious.org/c172p/mainline.git Regards HHS

Re: [Flightgear-devel] Progress report on the infamous error in TriangleIntersect NAN Problem

2009-05-15 Thread Torsten Dreyer
I'm not sure about this, but my estimate is that the trouble doesnt arise when the mag-compass is part of the user aircraft, but only when it's part of the exterior world, i.e. when part of an AI aircraft. Also, it's possible that the instrument by itself may be okay, but triggers an error in

Re: [Flightgear-devel] Progress report on the infamous error in

2009-05-15 Thread Martin Spott
Curtis Olson wrote: I did a long haul flight recently from Boston to NY to MSP in the alphajet (current CVS version) and not far out of Boston started dropping tiles right and left ... it was a mess. I got to the point where I had no visible tiles loaded, just flying over empty space as far

Re: [Flightgear-devel] Reverse for 737-300 model (patch)

2009-05-15 Thread Innis Cunningham
Hi Bertrand You or anybody can modify the 737-300 as long as it does not become messed up. Thank you Heiko for the compliment on the flaps it is nice when little things get noticed. Maybe I should get off my rear end and model the thrust reversers for the engines. Cheers Innis Hi all,

[Flightgear-devel] how to add a new label to Hud

2009-05-15 Thread John Waget
Hi all, besides longitude and latitude, I want to add a new label to Hud. can anyone help me with this? thanks John -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option