ros-drivers / video_stream_opencv

A package to open video streams and publish them in ROS using the opencv videocapture mechanism
224 stars 159 forks source link

Fix subscribe/unsubscribe behavior #80

Open machinekoder opened 3 years ago

machinekoder commented 3 years ago

This PR fixes the subscribe/unsubscribe behavior of the node, especially when the camera errors out or is disconnected.

In our setup we enable ar_track_alvar on demand (subscribes/unsubscribes), this enables hot-plugging of the camera devices and better error recovery.

machinekoder commented 3 years ago

@awesomebytes Rebased on master.