Robotics StackExchange | Archived questions

Subscribe with "timeout"

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

Asked by matansar on 2017-05-06 03:37:52 UTC

Comments

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

Asked by ahendrix on 2017-05-07 10:33:11 UTC

Answers