ros heartbeat for rosbridge

asked 2019-10-07 03:54:23 -0500

knxa gravatar image

Does ROS provide any best practice way to detect when a websocket used by a rosbridge client is lost? AFAIK I cannot rely on a socket disconnect event for all failure cases.

Does ROS, rosbridge or roslibjs have any builtin feature like a heartbeat topic, that a rosbridge client can use to detect the connection status?

edit retag flag offensive close merge delete

Comments

For regular ROS: bonds, but that would probably not work for entities on the other side of rosbridge.

gvdhoorn gravatar imagegvdhoorn ( 2019-10-07 04:12:29 -0500 )edit