From 58459b6e4c96176546102e923d5af5c487ad4b21 Mon Sep 17 00:00:00 2001 From: arndcubert Date: Wed, 10 Apr 2024 14:06:16 +0200 Subject: [PATCH] adding width & height for sensor infos according to added field in c sdk --- interface/cuvis.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/cuvis.hpp b/interface/cuvis.hpp index 75ef05a..3a4b54b 100644 --- a/interface/cuvis.hpp +++ b/interface/cuvis.hpp @@ -636,6 +636,10 @@ namespace cuvis double gain; /** the timestamp (UTC) of the image readout (senor's hardware clock )*/ timestamp_t readout_time; + /** width of buffer */ + uint32_t width; + /** height of buffer */ + uint32_t height; }; @@ -2634,6 +2638,8 @@ namespace cuvis temperature = info.temperature; gain = info.gain; readout_time = std::chrono::time_point(std::chrono::milliseconds(info.readout_time)); + width = info.width; + height = info.height; }