From e00b796b3c845c4a90bd586fede1e4875d99955c Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 1 Feb 2008 19:56:51 +0000 Subject: [PATCH] Maik: remove tow end force smoothing. --- src/FDM/YASim/Hitch.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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; -- 2.39.5