robotology / whole-body-estimators

YARP devices that implement estimators for humanoid robots.
27 stars 12 forks source link

wholeBodyDynamics: Migrate from yarp::os::RateThread to yarp::os::PeriodicThread #127

Closed traversaro closed 1 year ago

traversaro commented 2 years ago

RateThread was deprecated several releases of YARP ago (see http://www.yarp.it/latest/classyarp_1_1os_1_1RateThread.html#details and http://www.yarp.it/latest/classyarp_1_1os_1_1PeriodicThread.html#details).

Warning: RateThread takes the period as an int of milliseconds, while PeriodicThread takes in input the period as double of seconds****

traversaro commented 1 year ago

Fixed in https://github.com/robotology/whole-body-estimators/pull/130 .