DeviceProperties Struct Reference

Properties of a camera. More...

Attributes

sl::CAMERA_STATE camera_state = sl::CAMERA_STATE::NOT_AVAILABLE
 
int id = -1
 
sl::String path
 
sl::MODEL camera_model = sl::MODEL::LAST
 
unsigned int serial_number = 0
 

Detailed Description

Properties of a camera.

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

Variables

◆ camera_state

the camera state

◆ id

int id = -1

the camera id (Notice that only the camera with id '0' can be used on Windows)

◆ path

sl::String path

the camera system path

◆ camera_model

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

the camera model

◆ serial_number

unsigned int serial_number = 0

the camera serial number
Not provided for Windows