This is the ROS2 equivalent change for PR #183:
"Currently the node will break silently if the camera stops
sending data. This happens as it blocks infinite in
get_capture. This commit reduces the timeout to 5 times
the expected time it would normally take for a new frame
to arrive.
For unknown reasons, the first frame takes way longer to arrive,
therefore we wait up to four seconds for the first frame."
Fixes #181
Description of the changes:
Required before submitting a Pull Request:
I tested changes on:
Manual testing