Subscribe with "timeout"

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

matansar gravatar image

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

Evgeny gravatar image


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


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

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