Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
ivcam
ivcam-private.h
Go to the documentation of this file.
1
// License: Apache 2.0. See LICENSE file in root directory.
2
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.
3
4
#pragma once
5
6
#include "
backend.h
"
7
8
namespace
librealsense
{
9
namespace
ivcam {
10
// IVCAM depth XU identifiers
11
const
uint8_t
IVCAM_DEPTH_LASER_POWER
= 1;
12
const
uint8_t
IVCAM_DEPTH_ACCURACY
= 2;
13
const
uint8_t
IVCAM_DEPTH_MOTION_RANGE
= 3;
14
const
uint8_t
IVCAM_DEPTH_ERROR
= 4;
15
const
uint8_t
IVCAM_DEPTH_FILTER_OPTION
= 5;
16
const
uint8_t
IVCAM_DEPTH_CONFIDENCE_THRESH
= 6;
17
const
uint8_t
IVCAM_DEPTH_DYNAMIC_FPS
= 7;
// Only available on IVCAM 1.0 / F200
18
19
// IVCAM color XU identifiers
20
const
uint8_t
IVCAM_COLOR_EXPOSURE_PRIORITY
= 1;
21
const
uint8_t
IVCAM_COLOR_AUTO_FLICKER
= 2;
22
const
uint8_t
IVCAM_COLOR_ERROR
= 3;
23
const
uint8_t
IVCAM_COLOR_EXPOSURE_GRANULAR
= 4;
24
25
const
platform::extension_unit
depth_xu
{ 1, 6, 1,
26
{ 0xA55751A1, 0xF3C5, 0x4A5E, { 0x8D, 0x5A, 0x68, 0x54, 0xB8, 0xFA, 0x27, 0x16 } } };
27
28
struct
camera_calib_params
29
{
30
float
Rmax
;
31
float
Kc
[3][3];
// [3x3]: intrinsic calibration matrix of the IR camera
32
float
Distc
[5];
// [1x5]: forward distortion parameters of the IR camera
33
float
Invdistc
[5];
// [1x5]: the inverse distortion parameters of the IR camera
34
float
Pp
[3][4];
// [3x4]: projection matrix
35
float
Kp
[3][3];
// [3x3]: intrinsic calibration matrix of the projector
36
float
Rp
[3][3];
// [3x3]: extrinsic calibration matrix of the projector
37
float
Tp
[3];
// [1x3]: translation vector of the projector
38
float
Distp
[5];
// [1x5]: forward distortion parameters of the projector
39
float
Invdistp
[5];
// [1x5]: inverse distortion parameters of the projector
40
float
Pt
[3][4];
// [3x4]: IR to RGB (texture mapping) image transformation matrix
41
float
Kt
[3][3];
42
float
Rt
[3][3];
43
float
Tt
[3];
44
float
Distt
[5];
// [1x5]: The inverse distortion parameters of the RGB camera
45
float
Invdistt
[5];
46
float
QV
[6];
47
};
48
49
struct
cam_calibration
50
{
51
int
uniqueNumber
;
//Should be 0xCAFECAFE in Calibration version 1 or later. In calibration version 0 this is zero.
52
int16_t
TableValidation
;
53
int16_t
TableVersion
;
54
camera_calib_params
CalibrationParameters
;
55
};
56
57
struct
cam_auto_range_request
58
{
59
int
enableMvR
;
60
int
enableLaser
;
61
int
minMvR
;
62
int
maxMvR
;
63
int
startMvR
;
64
int
minLaser
;
65
int
maxLaser
;
66
int
startLaser
;
67
int
ARUpperTh
;
68
int
ARLowerTh
;
69
};
70
71
enum
fw_cmd
:
uint8_t
72
{
73
GetMEMSTemp
= 0x0A,
74
DebugFormat
= 0x0B,
75
TimeStampEnable
= 0x0C,
76
GetFWLastError
= 0x0E,
77
HWReset
= 0x28,
78
GVD
= 0x3B,
79
GetCalibrationTable
= 0x3D,
80
CheckI2cConnect
= 0x4A,
81
CheckRGBConnect
= 0x4B,
82
CheckDPTConnect
= 0x4C,
83
GetIRTemp
= 0x52,
84
GoToDFU
= 0x80,
85
OnSuspendResume
= 0x91,
86
GetWakeReason
= 0x93,
87
GetWakeConfidence
= 0x92,
88
SetAutoRange
= 0xA6,
89
SetDefaultControls
= 0xA6,
90
GetDefaultControls
= 0xA7,
91
AutoRangeSetParamsforDebug
= 0xb3,
92
UpdateCalib
= 0xBC,
93
BIST
= 0xFF,
94
GetPowerGearState
= 0xFF,
95
GLD
= 0x35,
96
FlashRead
= 0x23,
97
SetRgbAeRoi
= 0xdb,
98
GetRgbAeRoi
= 0xdc,
99
};
100
101
enum
gvd_fields
102
{
103
fw_version_offset
= 0,
104
module_serial_offset
= 132
105
};
106
107
enum
gvd_fields_size
108
{
109
// Keep sorted
110
module_serial_size
= 6
111
};
112
bool
try_fetch_usb_device
(std::vector<platform::usb_device_info>&
devices
,
113
const
platform::uvc_device_info
&
info
,
platform::usb_device_info
&
result
);
114
115
}
// librealsense::ivcam
116
}
// namespace librealsense
librealsense::ivcam::IVCAM_COLOR_ERROR
const uint8_t IVCAM_COLOR_ERROR
Definition:
ivcam-private.h:22
librealsense::ivcam::camera_calib_params::Kp
float Kp[3][3]
Definition:
ivcam-private.h:35
librealsense::ivcam::cam_auto_range_request
Definition:
ivcam-private.h:57
librealsense::platform::usb_device_info
Definition:
usb-types.h:136
librealsense::ivcam::camera_calib_params::Tt
float Tt[3]
Definition:
ivcam-private.h:43
librealsense::ivcam::HWReset
Definition:
ivcam-private.h:77
librealsense::ivcam::camera_calib_params::Invdistp
float Invdistp[5]
Definition:
ivcam-private.h:39
librealsense::platform::uvc_device_info
Definition:
backend.h:179
librealsense::ivcam::IVCAM_COLOR_EXPOSURE_GRANULAR
const uint8_t IVCAM_COLOR_EXPOSURE_GRANULAR
Definition:
ivcam-private.h:23
librealsense::ivcam::module_serial_size
Definition:
ivcam-private.h:110
librealsense::ivcam::cam_calibration::TableVersion
int16_t TableVersion
Definition:
ivcam-private.h:53
librealsense::ivcam::GetRgbAeRoi
Definition:
ivcam-private.h:98
librealsense::ivcam::TimeStampEnable
Definition:
ivcam-private.h:75
librealsense::ivcam::fw_version_offset
Definition:
ivcam-private.h:103
librealsense::ivcam::CheckDPTConnect
Definition:
ivcam-private.h:82
librealsense::ivcam::IVCAM_COLOR_EXPOSURE_PRIORITY
const uint8_t IVCAM_COLOR_EXPOSURE_PRIORITY
Definition:
ivcam-private.h:20
librealsense::ivcam::GetIRTemp
Definition:
ivcam-private.h:83
librealsense::ivcam::camera_calib_params::Distt
float Distt[5]
Definition:
ivcam-private.h:44
librealsense::ivcam::camera_calib_params::Distp
float Distp[5]
Definition:
ivcam-private.h:38
librealsense::ivcam::IVCAM_COLOR_AUTO_FLICKER
const uint8_t IVCAM_COLOR_AUTO_FLICKER
Definition:
ivcam-private.h:21
librealsense::ivcam::camera_calib_params::Pt
float Pt[3][4]
Definition:
ivcam-private.h:40
librealsense::ivcam::camera_calib_params::Rp
float Rp[3][3]
Definition:
ivcam-private.h:36
librealsense::ivcam::depth_xu
const platform::extension_unit depth_xu
Definition:
ivcam-private.h:25
librealsense::ivcam::OnSuspendResume
Definition:
ivcam-private.h:85
librealsense::ivcam::try_fetch_usb_device
bool try_fetch_usb_device(std::vector< platform::usb_device_info > &devices, const platform::uvc_device_info &info, platform::usb_device_info &result)
Definition:
ivcam-private.cpp:11
librealsense::ivcam::cam_calibration::TableValidation
int16_t TableValidation
Definition:
ivcam-private.h:52
uint8_t
unsigned char uint8_t
Definition:
stdint.h:78
librealsense::ivcam::AutoRangeSetParamsforDebug
Definition:
ivcam-private.h:91
librealsense::ivcam::camera_calib_params::Rmax
float Rmax
Definition:
ivcam-private.h:30
librealsense::ivcam::cam_auto_range_request::ARLowerTh
int ARLowerTh
Definition:
ivcam-private.h:68
librealsense::ivcam::fw_cmd
fw_cmd
Definition:
ivcam-private.h:71
librealsense::ivcam::CheckI2cConnect
Definition:
ivcam-private.h:80
librealsense::ivcam::GVD
Definition:
ivcam-private.h:78
librealsense::ivcam::camera_calib_params::Kc
float Kc[3][3]
Definition:
ivcam-private.h:31
rspy.test.info
def info(name, value, persistent=False)
Definition:
test.py:301
librealsense::ivcam::camera_calib_params::Invdistt
float Invdistt[5]
Definition:
ivcam-private.h:45
librealsense::ivcam::UpdateCalib
Definition:
ivcam-private.h:92
librealsense::ivcam::GoToDFU
Definition:
ivcam-private.h:84
librealsense
Definition:
calibration-model.h:6
librealsense::ivcam::SetDefaultControls
Definition:
ivcam-private.h:89
librealsense::ivcam::cam_auto_range_request::startMvR
int startMvR
Definition:
ivcam-private.h:63
librealsense::ivcam::GetDefaultControls
Definition:
ivcam-private.h:90
librealsense::ivcam::camera_calib_params::Invdistc
float Invdistc[5]
Definition:
ivcam-private.h:33
test-fg.devices
devices
Definition:
test-fg.py:9
int16_t
signed short int16_t
Definition:
stdint.h:76
librealsense::ivcam::IVCAM_DEPTH_FILTER_OPTION
const uint8_t IVCAM_DEPTH_FILTER_OPTION
Definition:
ivcam-private.h:15
librealsense::ivcam::GetWakeReason
Definition:
ivcam-private.h:86
librealsense::ivcam::IVCAM_DEPTH_MOTION_RANGE
const uint8_t IVCAM_DEPTH_MOTION_RANGE
Definition:
ivcam-private.h:13
librealsense::ivcam::GetCalibrationTable
Definition:
ivcam-private.h:79
librealsense::ivcam::camera_calib_params::Distc
float Distc[5]
Definition:
ivcam-private.h:32
librealsense::ivcam::FlashRead
Definition:
ivcam-private.h:96
librealsense::ivcam::gvd_fields_size
gvd_fields_size
Definition:
ivcam-private.h:107
librealsense::ivcam::camera_calib_params::Pp
float Pp[3][4]
Definition:
ivcam-private.h:34
librealsense::ivcam::cam_calibration
Definition:
ivcam-private.h:49
librealsense::ivcam::SetAutoRange
Definition:
ivcam-private.h:88
librealsense::ivcam::IVCAM_DEPTH_CONFIDENCE_THRESH
const uint8_t IVCAM_DEPTH_CONFIDENCE_THRESH
Definition:
ivcam-private.h:16
librealsense::ivcam::GetWakeConfidence
Definition:
ivcam-private.h:87
librealsense::ivcam::module_serial_offset
Definition:
ivcam-private.h:104
librealsense::ivcam::camera_calib_params
Definition:
ivcam-private.h:28
librealsense::ivcam::SetRgbAeRoi
Definition:
ivcam-private.h:97
librealsense::ivcam::BIST
Definition:
ivcam-private.h:93
librealsense::ivcam::GetMEMSTemp
Definition:
ivcam-private.h:73
librealsense::ivcam::cam_auto_range_request::enableLaser
int enableLaser
Definition:
ivcam-private.h:60
librealsense::ivcam::camera_calib_params::QV
float QV[6]
Definition:
ivcam-private.h:46
librealsense::ivcam::CheckRGBConnect
Definition:
ivcam-private.h:81
librealsense::ivcam::gvd_fields
gvd_fields
Definition:
ivcam-private.h:101
librealsense::ivcam::IVCAM_DEPTH_LASER_POWER
const uint8_t IVCAM_DEPTH_LASER_POWER
Definition:
ivcam-private.h:11
librealsense::ivcam::cam_auto_range_request::maxMvR
int maxMvR
Definition:
ivcam-private.h:62
librealsense::ivcam::cam_calibration::CalibrationParameters
camera_calib_params CalibrationParameters
Definition:
ivcam-private.h:54
librealsense::ivcam::cam_auto_range_request::enableMvR
int enableMvR
Definition:
ivcam-private.h:59
librealsense::ivcam::camera_calib_params::Tp
float Tp[3]
Definition:
ivcam-private.h:37
librealsense::ivcam::IVCAM_DEPTH_ACCURACY
const uint8_t IVCAM_DEPTH_ACCURACY
Definition:
ivcam-private.h:12
librealsense::ivcam::IVCAM_DEPTH_DYNAMIC_FPS
const uint8_t IVCAM_DEPTH_DYNAMIC_FPS
Definition:
ivcam-private.h:17
librealsense::ivcam::GetPowerGearState
Definition:
ivcam-private.h:94
librealsense::platform::extension_unit
Definition:
backend.h:114
librealsense::ivcam::cam_auto_range_request::minMvR
int minMvR
Definition:
ivcam-private.h:61
backend.h
librealsense::ivcam::cam_auto_range_request::ARUpperTh
int ARUpperTh
Definition:
ivcam-private.h:67
librealsense::ivcam::DebugFormat
Definition:
ivcam-private.h:74
librealsense::ivcam::camera_calib_params::Kt
float Kt[3][3]
Definition:
ivcam-private.h:41
result
GLuint64EXT * result
Definition:
glext.h:10921
librealsense::ivcam::cam_auto_range_request::startLaser
int startLaser
Definition:
ivcam-private.h:66
librealsense::ivcam::cam_calibration::uniqueNumber
int uniqueNumber
Definition:
ivcam-private.h:51
librealsense::ivcam::IVCAM_DEPTH_ERROR
const uint8_t IVCAM_DEPTH_ERROR
Definition:
ivcam-private.h:14
librealsense::ivcam::GetFWLastError
Definition:
ivcam-private.h:76
librealsense::ivcam::cam_auto_range_request::maxLaser
int maxLaser
Definition:
ivcam-private.h:65
librealsense::ivcam::camera_calib_params::Rt
float Rt[3][3]
Definition:
ivcam-private.h:42
librealsense::ivcam::GLD
Definition:
ivcam-private.h:95
librealsense::ivcam::cam_auto_range_request::minLaser
int minLaser
Definition:
ivcam-private.h:64
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:20