@@ -151,29 +151,13 @@ class PicoFlexx : public royale::IDepthDataListener, public royale::IExposureLis
151
151
status[0 ].resize (COUNT, false );
152
152
status[1 ].resize (COUNT, false );
153
153
154
- config.use_case = 0 ;
155
- config.exposure_mode = 0 ;
156
- config.exposure_time = 1000 ;
157
- config.exposure_mode_stream2 = 0 ;
158
- config.exposure_time_stream2 = 1000 ;
159
- config.max_noise = 0.07 ;
160
- config.range_factor = 2.0 ;
161
-
162
- configMin.use_case = 0 ;
163
- configMin.exposure_mode = 0 ;
154
+ server.getConfigDefault (config);
155
+
156
+ server.getConfigMin (configMin);
164
157
configMin.exposure_time = 50 ;
165
- configMin.exposure_mode_stream2 = 0 ;
166
158
configMin.exposure_time_stream2 = 50 ;
167
- configMin.max_noise = 0.0 ;
168
- configMin.range_factor = 0.0 ;
169
-
170
- configMax.use_case = 9 ;
171
- configMax.exposure_mode = 1 ;
172
- configMax.exposure_time = 2000 ;
173
- configMax.exposure_mode_stream2 = 1 ;
174
- configMax.exposure_time_stream2 = 2000 ;
175
- configMax.max_noise = 0.10 ;
176
- configMax.range_factor = 7.0 ;
159
+
160
+ server.getConfigMax (configMax);
177
161
}
178
162
179
163
~PicoFlexx ()
0 commit comments