Make the timeout durations consistent. A default timeout had been added to the camera's take_exposure method, which was then being passed to the _poll_exposure. Previously _poll_exposure had a timeout=None default, so it would build a new timeout duration consisting of the exptime, readout time, and a "timeout" padding. This change just builds that default in take_exposure and passes it to _poll_exposure but also uses the value to control the blocking in take_exposure.
Make the timeout durations consistent. A default
timeout
had been added to the camera'stake_exposure
method, which was then being passed to the_poll_exposure
. Previously_poll_exposure
had atimeout=None
default, so it would build a new timeout duration consisting of the exptime, readout time, and a "timeout" padding. This change just builds that default intake_exposure
and passes it to_poll_exposure
but also uses the value to control the blocking intake_exposure
.