robotology / yarp

YARP - Yet Another Robot Platform

Home Page:http://www.yarp.it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sender rate

laurafbec opened this issue · comments

Hi everyone
I'm starting testing YARP and I would like to know if is there a way in the simple_sender example, to establish the sent messages rate.
I tried to use RateThread class but it seems to be out in the last version.
Thanks in advance

The correct class to use is yarp::os::PeriodicThread, https://yarp.it/latest/classyarp_1_1os_1_1PeriodicThread.html