FraunhoferIOSB / camera_aravis2

ROS2 camera driver for GenICam-based GigEVision and USB3Vision cameras.
BSD 3-Clause "New" or "Revised" License
15 stars 3 forks source link

Reconnect on loss of control #41

Open boitumeloruf opened 3 weeks ago

boitumeloruf commented 3 weeks ago

Currently, the node is shut down as soon as the control to the camera by Aravis is lost. This is triggered by a callback function 'CameraAravisNodeBase::handleControlLostSignal' which, in turn, is connected to the 'ControlLostSignal' of Aravis.

Better handling would be to try and reconnect to the camera for a set period of time. If still no connection could be restored, the node should be shut down.