DeviceProperties Struct Reference

Structure containing information about the properties of a camera. More...

Attributes

sl::CAMERA_STATE camera_state = sl::CAMERA_STATE::NOT_AVAILABLE
 State of the camera. More...
 
int id = -1
 Id of the camera. More...
 
sl::String path
 System path of the camera. More...
 
sl::MODEL camera_model = sl::MODEL::LAST
 Model of the camera. More...
 
unsigned int serial_number = 0
 Serial number of the camera. More...
 
unsigned char identifier [3] = {0}
 [Cam model, eeprom version, white balance param] More...
 
std::string camera_badge = ""
 badge name (zedx_ar0234) More...
 
std::string camera_sensor_model = ""
 Name of sensor (zedx) More...
 
std::string camera_name = ""
 Name of Camera in DT (ZED_CAM1) More...
 
INPUT_TYPE input_type
 Input type of the camera. More...
 

Detailed Description

Structure containing information about the properties of a camera.

Note
A camera_model sl::MODEL::ZED_M with an id '-1' can be due to an inverted USB-C cable.

Variables

◆ camera_state

◆ id

int id = -1

Id of the camera.

Default: -1

◆ path

sl::String path

System path of the camera.

◆ camera_model

sl::MODEL camera_model = sl::MODEL::LAST

Model of the camera.

◆ serial_number

unsigned int serial_number = 0

Serial number of the camera.

Default: 0

Warning
Not provided for Windows.

◆ identifier

unsigned char identifier[3] = {0}

[Cam model, eeprom version, white balance param]

◆ camera_badge

std::string camera_badge = ""

badge name (zedx_ar0234)

◆ camera_sensor_model

std::string camera_sensor_model = ""

Name of sensor (zedx)

◆ camera_name

std::string camera_name = ""

Name of Camera in DT (ZED_CAM1)

◆ input_type

INPUT_TYPE input_type

Input type of the camera.