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::String video_device
 Video device of camera. More...
 
int i2c_port
 i2c port 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...
 
int gmsl_port = -1
 GMSL port of the camera. More...
 
unsigned char identifier [3] = {0}
 [Cam model, eeprom version, white balance param] More...
 
sl::String camera_badge = ""
 Badge name (zedx_ar0234) More...
 
sl::String camera_sensor_model = ""
 Name of sensor (zedx) More...
 
sl::String camera_name = ""
 Name of Camera in DT (ZED_CAM1) More...
 
INPUT_TYPE input_type = sl::INPUT_TYPE::LAST
 Input type of the camera. More...
 
unsigned char sensor_address_left = 0
 sensor_address when available (ZED-X HDR/XOne HDR only) More...
 
unsigned char sensor_address_right = 0
 

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.

◆ video_device

sl::String video_device

Video device of camera.

◆ i2c_port

int i2c_port

i2c port 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.

◆ gmsl_port

int gmsl_port = -1

GMSL port of the camera.

◆ identifier

unsigned char identifier[3] = {0}

[Cam model, eeprom version, white balance param]

◆ camera_badge

sl::String camera_badge = ""

Badge name (zedx_ar0234)

◆ camera_sensor_model

sl::String camera_sensor_model = ""

Name of sensor (zedx)

◆ camera_name

sl::String camera_name = ""

Name of Camera in DT (ZED_CAM1)

◆ input_type

INPUT_TYPE input_type = sl::INPUT_TYPE::LAST

Input type of the camera.

◆ sensor_address_left

unsigned char sensor_address_left = 0

sensor_address when available (ZED-X HDR/XOne HDR only)

◆ sensor_address_right

unsigned char sensor_address_right = 0