Subscribe with "timeout"

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

matansar 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 -0600 )edit