Subscribe with "timeout"

asked 2017-05-06 03:37:52 -0600

matansar gravatar image

updated 2021-12-03 09:51:25 -0600

Evgeny gravatar image

Hi,

I want to subscribe to a topic, but after TIMEOUT, if there is no msg, I want to run a function. Do you have some ways how to do it?

thanks in advance

edit retag flag offensive close merge delete

Comments

ROS doesn't have a built-in mechanism for this.

ahendrix gravatar image ahendrix  ( 2017-05-07 10:33:11 -0600 )edit