WPILibC++  2020.3.2-60-g3011ebe
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.
std::vector< std::string > otherPaths
 Other path aliases to device (e.g. More...
int vendorId = -1
 USB Vendor Id.
int productId = -1
 USB Product Id.

Detailed Description

USB camera information.

Member Data Documentation

◆ dev

int cs::UsbCameraInfo::dev = -1

Device number (e.g.

N in '/dev/videoN' on Linux)

◆ 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)

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