WPILibC++ 2023.4.3-108-ge5452e3
cs::UsbCameraInfo Struct Reference

USB camera information. More...

#include <cscore_cpp.h>

Public Attributes

int dev = -1
 Device number (e.g. More...
 
std::string path
 Path to device if available (e.g. More...
 
std::string name
 Vendor/model name of the camera as provided by the USB driver. More...
 
std::vector< std::string > otherPaths
 Other path aliases to device (e.g. More...
 
int vendorId = -1
 USB Vendor Id. More...
 
int productId = -1
 USB Product Id. More...
 

Detailed Description

USB camera information.

Member Data Documentation

◆ dev

int cs::UsbCameraInfo::dev = -1

Device number (e.g.

N in '/dev/videoN' on Linux)

◆ name

std::string cs::UsbCameraInfo::name

Vendor/model name of the camera as provided by the USB driver.

◆ otherPaths

std::vector<std::string> cs::UsbCameraInfo::otherPaths

Other path aliases to device (e.g.

'/dev/v4l/by-id/...' etc on Linux)

◆ path

std::string cs::UsbCameraInfo::path

Path to device if available (e.g.

'/dev/video0' on Linux)

◆ productId

int cs::UsbCameraInfo::productId = -1

USB Product Id.

◆ vendorId

int cs::UsbCameraInfo::vendorId = -1

USB Vendor Id.


The documentation for this struct was generated from the following file: