From 0b311d2b00a3e66663e9aa3d657de8ee39f5d815 Mon Sep 17 00:00:00 2001 From: Giulio Romualdi Date: Wed, 9 Mar 2022 10:53:36 +0100 Subject: [PATCH] Update WholeBodyDynamicsDevice.cpp --- devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp b/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp index 68ad246..ae62e1c 100644 --- a/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp +++ b/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp @@ -1634,8 +1634,8 @@ bool WholeBodyDynamicsDevice::open(os::Searchable& config) yDebug() << "wholeBodyDynamics Statistics: Filtered FT ports opened in " << yarp::os::Time::now() - tick << "s."; } - // print the clock once every 1.0 seconds - m_timerHandler.setHorizon(1.0/getPeriod()); + // print the clock once every 5 minutes + m_timerHandler.setHorizon(5.0 * 60 /getPeriod()); m_timerHandler.addTimer("all", WholeBodyDynamics::Timer("all", std::chrono::duration(getPeriod())));