@@ -280,53 +280,6 @@ const char* rs2_get_failed_args (const rs2_error* error);
280280const char * rs2_get_error_message (const rs2_error * error );
281281void rs2_free_error (rs2_error * error );
282282
283- #pragma pack(push, 1)
284- /* rs2_calibration_roi - Array of four corners in Deph Frame Coordinate system that define a closed simple quadrangle (non-intersecting)*/
285- typedef struct rs2_calibration_roi
286- {
287- uint16_t mask_pixel [4 ][2 ];
288- }rs2_calibration_roi ;
289-
290- typedef struct float3_row_major { float x , y , z ; } float3_row_major ;
291- typedef struct float3x3_row_major { float3_row_major x , y , z ; } float3x3_row_major ;
292-
293- typedef struct rs2_extrinsics_row_major
294- {
295- float3x3_row_major rotation ; // Rotation matrix
296- float3_row_major translation ; // Metric units
297- } rs2_extrinsics_row_major ;
298-
299- typedef struct rs2_calibration_config
300- {
301- uint8_t calib_roi_num_of_segments ; // Within 0-4 range: 0 - Default.No limitations.Full FOV can be used in TC
302- // 1 - 4: Segments defined.The segment must be sequential
303- rs2_calibration_roi roi [4 ]; // Segment 0 = convex tetragon - The vertices of the tetragon are ordered clockwise
304- // Vertex = [x, y] = pixel coordinates in the reference depth map
305- // 0 - based coordinates : [0, 0] = center of the top - left pixel
306- // Segments 1-3 - structured identical to segment_#0 (reserved)
307- // The ROI segments can intersect, but each must be convex(angles <= 180 degrees).
308- uint8_t reserved1 [12 ];
309- rs2_extrinsics_row_major camera_position ;
310- uint8_t reserved2 [300 ];
311- uint8_t crypto_signature [32 ];
312- uint8_t reserved3 [39 ];
313- } rs2_calibration_config ;
314-
315- typedef struct rs2_calibration_config_header
316- {
317- uint16_t version ; // major.minor. Big-endian
318- uint16_t table_type ; // type
319- uint32_t table_size ; // full size including: header footer
320- uint32_t calib_version ; // major.minor.index
321- uint32_t crc32 ; // crc of all the data in table excluding this header/CRC
322- } rs2_calibration_config_header ;
323-
324- typedef struct rs2_calibration_config_with_header
325- {
326- rs2_calibration_config_header header ;
327- rs2_calibration_config payload ;
328- } rs2_calibration_config_with_header ;
329- #pragma pack(pop)
330283
331284#ifdef __cplusplus
332285}
0 commit comments