Christian Mayer writes:
>
>Norman Vine wrote:
>> 
>> Christian Mayer writes:
>> >
>> >All of those (i.e. LaRCsim and YAsim) work for me. JSBsim currently
>> >doesn't. I'm still working on that.
>> 
>> Same here trying to run with MingW32 although Cygwin has no
>> problem
>> 
>> I am crashing during initialization of the FDM with the call to
>> set_Euler_Angles()  from FGInterface::common_init()
>
>The first sing of a problem comes with 
>
>fgGeodToGeoc(): Domain error
>sqrt(1.#QNAN)

OK -- But I doubt if it is fgGeodToGeoc() itself
but that something earlier has munged the fpu
and this is the first place that this is reported.

to check this add some code to print out the values 
being passed into fgGeodToGeoc().

>But when I rung with JSBsim and floating point exception I''m stopping
>much earlier in cocpit/panel.cxx in line 706:
>
> float val = (t->node == 0 ? 0.0 : t->node->getFloatValue());

Try rewriting this as

if ( t->node )
   val = t->node->getFloatValue();
else
  val = 0.0;

>CU,
>Christian,
>who goes to bed now and probably hasn't got much time till next weekend

 :-)

I think I might have finally gotten gdb working with FGFS
If so I should be able to sort this out fairly quickly
< I had gdb setup to automatically start up on an error
   and this was confusing the existing interactive session >

Cheers

Norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to