From: ehofman Date: Tue, 8 Nov 2005 10:02:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad969bc4cdba48d6621cff57fb31a85c95435565;p=flightgear.git *** empty log message *** --- diff --git a/src/Instrumentation/mag_compass.cxx b/src/Instrumentation/mag_compass.cxx index d3d15e5c1..e67d35074 100644 --- a/src/Instrumentation/mag_compass.cxx +++ b/src/Instrumentation/mag_compass.cxx @@ -94,11 +94,19 @@ MagCompass::update (double delta_time_sec) if (!_serviceable_node->getBoolValue()) return; - // jam on excessive sideslip + /* + * Vassilii: commented out because this way, even when parked, + * w/o any accelerations and level, the compass is jammed. + * If somebody wants to model jamming, real forces (i.e. accelerations) + * and not sideslip angle must be considered. + */ +#if 0 + // jam on excessive sideslip if (fabs(_beta_node->getDoubleValue()) > 12.0) { _rate_degps = 0.0; return; } +#endif /*