how to create periodic timer event

2 posts / 0 new
Last post
Offline
Last seen: 2 months 2 weeks ago
Joined: 05/20/2020
Posts: 1
how to create periodic timer event

new to rti dds, would like to know how to create a periodic timer event in dds which will invoke a callback function?

irwin's picture
Offline
Last seen: 1 week 6 days ago
Joined: 08/14/2010
Posts: 42

Hi,

 Good question. However, we have no API that that is device independant that will provide that. You will have to utilize your platform specific OS calls to provide that. That being said, there is a way. I would create a topic with a deadline

and publish it to myself. However, I would not send any samples. You will then get on_deadline_missed callbacks. Kinnd of hokey, biut it should work.

 

                                                   Irwin