Package edu.wpi.first.cscore
Class UsbCameraInfo
- java.lang.Object
-
- edu.wpi.first.cscore.UsbCameraInfo
-
public class UsbCameraInfo extends Object
USB camera information.
-
-
Field Summary
Fields Modifier and Type Field Description int
dev
Device number (e.g.String
name
Vendor/model name of the camera as provided by the USB driver.String[]
otherPaths
Other path aliases to device (e.g.String
path
Path to device if available (e.g.int
productId
USB product id.int
vendorId
USB vendor id.
-
Constructor Summary
Constructors Constructor Description UsbCameraInfo(int dev, String path, String name, String[] otherPaths, int vendorId, int productId)
Create a new set of UsbCameraInfo.
-
-
-
Field Detail
-
dev
public int dev
Device number (e.g. N in '/dev/videoN' on Linux).
-
otherPaths
public String[] otherPaths
Other path aliases to device (e.g. '/dev/v4l/by-id/...' etc on Linux).
-
vendorId
public int vendorId
USB vendor id.
-
productId
public int productId
USB product id.
-
-
Constructor Detail
-
UsbCameraInfo
public UsbCameraInfo(int dev, String path, String name, String[] otherPaths, int vendorId, int productId)
Create a new set of UsbCameraInfo.- Parameters:
dev
- Device number (e.g. N in '/dev/videoN' on Linux)path
- Path to device if available (e.g. '/dev/video0' on Linux)name
- Vendor/model name of the camera as provided by the USB driverotherPaths
- Other path aliases to devicevendorId
- USB vendor idproductId
- USB product id
-
-