From: andy Date: Fri, 1 Feb 2008 19:56:51 +0000 (+0000) Subject: Maik: remove tow end force smoothing. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e00b796b3c845c4a90bd586fede1e4875d99955c;p=flightgear.git Maik: remove tow end force smoothing. --- diff --git a/src/FDM/YASim/Hitch.cpp b/src/FDM/YASim/Hitch.cpp index 121486b98..de39c4382 100755 --- a/src/FDM/YASim/Hitch.cpp +++ b/src/FDM/YASim/Hitch.cpp @@ -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;