Martin Olveyra writes:

> I dont know if it is a realistic effect, but, since some cvs versions ago,
> the compass is stalled most of the time, so it is impossible to know the
> real magnetic heading.
> 

This is because of the skid-slip indicator problem with JSBSim.  Some 
code in stream.cxx locks the compass during severe slip/skids.  
JSBSim seems to output much larger acceleration vectors in the Y 
direction than the other fdms, and thus the skid/slip ball doesn't 
work properly.  Hence the mag compass also doesn't work properly!!

As a temporary hack to get the compass working, change the following 
conditional in steam.cxx to if(0)

        if ( fabs(the_TC_rad) > 0.2 )
        {       /* Massive sideslip jams it; it stops turning */
                the_MH_degps = 0.0;
                the_MH_err   = fgGetDouble("/orientation/heading-deg") - 
the_MH_deg;
        } else


Cheers - Dave
-- 
[EMAIL PROTECTED]


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

Reply via email to