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?
Asked by knxa on 2019-10-07 03:54:23 UTC
Comments
For regular ROS: bonds, but that would probably not work for entities on the other side of
rosbridge
.Asked by gvdhoorn on 2019-10-07 04:12:29 UTC
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).
Asked by biaspoint on 2021-05-05 10:17:10 UTC
@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.
Asked by gvdhoorn on 2021-05-05 12:19:29 UTC
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/roslibjs/issues/563
Asked by ravijoshi on 2022-09-07 22:35:07 UTC