]> git.mxchange.org Git - flightgear.git/commitdiff
Maik: remove tow end force smoothing.
authorandy <andy>
Fri, 1 Feb 2008 19:56:51 +0000 (19:56 +0000)
committerandy <andy>
Fri, 1 Feb 2008 19:56:51 +0000 (19:56 +0000)
src/FDM/YASim/Hitch.cpp

index 121486b983e77aa0eddeb3750fec938a95bd30d1..de39c4382bca056899e075a898f2aaffa9ca766f 100755 (executable)
@@ -734,13 +734,8 @@ void Hitch::integrate (float dt)
             }
         }
     }
-    //set the _reported_tow_end_force (smoothed)
-    //smooth it a bit and store it
-    float sc=10.*dt; //100ms
-    float tmp[3];
-    Math::mul3(sc,_towEndForce,tmp);
-    Math::mul3(1.-sc,_reportTowEndForce,_reportTowEndForce);
-    Math::add3(tmp,_reportTowEndForce,_reportTowEndForce);
+    //set the _reported_tow_end_force
+    Math::set3(_towEndForce,_reportTowEndForce);
 
     if (_open) return;
     if (_winchRelSpeed==0) return;