]> git.mxchange.org Git - flightgear.git/commitdiff
Add a comment to explain the exported glide slope value.
authorcurt <curt>
Mon, 13 Mar 2006 20:20:27 +0000 (20:20 +0000)
committercurt <curt>
Mon, 13 Mar 2006 20:20:27 +0000 (20:20 +0000)
src/Instrumentation/navradio.cxx

index eeb49fa0d703d142cdfbe641c4b1da77210ff35c..697d3c8d760d861c63fe269cf7e2eeb3322edb66 100644 (file)
@@ -604,6 +604,13 @@ FGNavRadio::update(double dt)
         //////////////////////////////////////////////////////////
         // compute the amount of glide slope needle deflection
         // (.i.e. the number of degrees we are off the glide slope * 5.0
+        //
+        // CLO - 13 Mar 2006: The glide slope needle should peg at
+        // +/-0.7 degrees off the ideal glideslope.  I'm not sure why
+        // we compute the factor the way we do (5*gs_error), but we
+        // need to compensate for our 'odd' number in the glideslope
+        // needle animation.  This means that the needle should peg
+        // when this values is +/-3.5.
         //////////////////////////////////////////////////////////
         r = 0.0;
         if ( has_gs && gs_serviceable_node->getBoolValue() ) {