ensenso / ros_driver

Official ROS driver for Ensenso stereo cameras.
http://wiki.ros.org/ensenso_driver
BSD 3-Clause "New" or "Revised" License
28 stars 25 forks source link

Mono capture timeout #127

Closed benthie closed 5 months ago

benthie commented 5 months ago

Diesen Abschnitt hier würde ich noch ins Tutorial dazupacken, sobald es nicht mehr read-only ist. Vielleicht kannst du mal kurz drüber lesen und mir Feedback geben. Danach würde ich den Branch mergen und einen neues Release machen.

Mono Camera Timeout (With FlexView)

When opening a C-Series camera with a color sensor in NxView, the software knows which two cameras are currently operated and uses this knowledge to configure the capture timeout for the mono camera so that the user does not have to care about it.

On ROS, the two cameras are opened in separate nodes and thus the timeout for the mono camera cannot be adapted to the stereo camera configuration. Especially when using FlexView with a large number of images it can happen that the mono camera runs into a capture timeout, because the color image might arrive after the sets of stereo images. The automatically computed timeout value by the NxLib for the mono camera might be exceeded.

In order to prevent any of our cameras from running into a capture timeout on ROS, the corresponding nodes can be passed a timeout value manually. The above described launch files have a parameter named mono_capture_timeout with a default value of 1000 ms. In case your mono camera runs into a capture timeout, please increase the value accordingly.

saierd commented 5 months ago

:+1: Klingt sinnvoll.