From ad969bc4cdba48d6621cff57fb31a85c95435565 Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 8 Nov 2005 10:02:17 +0000 Subject: [PATCH] *** empty log message *** --- src/Instrumentation/mag_compass.cxx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 /* -- 2.39.5