From eacfa51f4da64b7b3bda1670ca1bf7d442831aea Mon Sep 17 00:00:00 2001 From: Momoko Kono Date: Tue, 21 Nov 2023 08:47:28 +0900 Subject: [PATCH] initialize the gain and exposuretime to update from 0 --- src/bb/image-io/rt_u3v.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bb/image-io/rt_u3v.h b/src/bb/image-io/rt_u3v.h index 2eb2f62d..d1015f12 100644 --- a/src/bb/image-io/rt_u3v.h +++ b/src/bb/image-io/rt_u3v.h @@ -145,11 +145,11 @@ class U3V { int32_t image_payload_size_; uint32_t frame_count_; - float gain_; - float exposure_; + float gain_ =-1; + float exposure_ =-1; - int32_t int_gain_; - int32_t int_exposure_; + int32_t int_gain_ = -1; + int32_t int_exposure_ = -1; float exposure_range_[2];