ros heartbeat for rosbridge
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?
For regular ROS: bonds, but that would probably not work for entities on the other side of
rosbridge
.Yes, this would be a useful feature... additionally it would be useful to have complete diagnostics of the ROS connection (including roscore), since it is possible to lose items and still have rosbridge running (appearance that the connection is good, but the underlying system is not).
@biaspoint: comments on 2-year-old questions have almost 0 visibility.
If you really want something to change or be enhanced, reach out to the developers and start working on it.
Otherwise it's likely things will not improve.
There seems to be no progress in this regard. Therefore, I added a feature request. Please see the following link for updates (if any): https://github.com/RobotWebTools/rosl...