lvsn / CameraNetwork

ROS camera network system
2 stars 0 forks source link

Camera name stays in the webGUI page. #14

Closed jacenfox closed 9 years ago

jacenfox commented 9 years ago

The cameras name, ObjCam and SkyCam, are always in the title of WebGUI. When shutdown the system without click the 'shutdown' button the the device page.

soravux commented 9 years ago

You're right. The problem is, not only the web interface but also ROS thinks the cameras are still there. This is because the ROS master haven't received an active disconnect event from the cameras.

This would be fixed by having a heartbeat to ping the cameras and to timeout the cameras that doesn't answer.

MathGaron commented 9 years ago

A thread in the server ping every address in IP param Server, if one dont answer after 2 seconds, the server remove it from the list