Skip to content

Commit

Permalink
Update WholeBodyDynamicsDevice.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi authored Mar 9, 2022
1 parent 812c354 commit 0b311d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<double>(getPeriod())));
Expand Down

0 comments on commit 0b311d2

Please sign in to comment.