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
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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: 2017-05-06 03:37:52 -0600
Seen: 1,022 times
Last updated: May 06 '17
Kinect startup error in Ubuntu Oneiric (virtual machine) with openni_launch
how to add a timeout for a teleop node
Spawning pr2 problem (pr2_simulator)
Install Hydro from source: unexpected keyword argument 'timeout'
Hokuyo laser getID failed. How to fix it?
Costmap2DROS transform timeout
Timeout error in service defined in matlab
ROS doesn't have a built-in mechanism for this.