Generic Video Device / Webcam

  • Interface Name

    video-device

  • Supported Since

    V2.0.0-b.2

  • Sensor Communication Protocol

    USB

  • PolySync Sensor Type

    180

  • PolySync Configuration

    * [Define the node](https://help.polysync.io/releases/2.0.8//articles/add-a-sensor-node/) in the SDF Configurator
    * Set the `Video Device 0 Path` in the IO Parameters section, based on where the device is enumerated by the system, i.e. `/dev/video0`

  • Driver Notes

    * -t perform a validation test on the Video Device interface [optional]
    * -g get all available video devices on the host [optional]

  • Input Message Types

    Input Message Type Input Message Note
    Native USB byte stream Raw image data
  • Output Message Types

    Output Message Type Output Message Note
    ps_video_msg Possible compressed or raw image data
  • Command Line Arguments

    Flag Description
    -h Show help message [optional]
    -o Enable output of log messages to stdout (in addition to syslog) [optional]
    -w Disable the hardware interface(s), allowing the node to run without hardware connected [optional]
    -r SDF runtime configuration key that specifies the domain to operated under, the default domain is used otherwise [optional]
    -n SDF node configuration key for the node [required]
    -i Use provided PAL interface file instead of what is stored in the SDF [optional]
    -e Export a JSON support string describing the interface, used by the SDF configuration tool [optional]
    -u Allow updates to the SDF configuration if needed [optional]
    -t Perform a validation test on the Video Device interface [optional]
    -g Get all available video devices on the host [optional]
  • Sensor Configuration Parameters

    Parameter ID Description Value Type Values Notes
    1002 3
    1003 3
    1004 3
    1005 3
    1006 3
    1007 3
    1088 1
    1089 1
    1090 1
    1091 1
    1092 1
    1093 1
    1094 1
    1095 3
    1096 3
    1097 3
    1098 3
    1099 3
    1104 3
    1105 3
    3720 1
    3721 1
    3722 4
    3723 1
    3724 1
    3725 1
    3726 1
  • IO Configuration Parameters

    Parameter ID Description Value Type Values Notes
    1080 4
    1081 4
    1082 1
    1083 1
    1084 1
    1085 3
    1086 1
    1087 1
    1100 1
    1101 1
    1103 1
  • Node Configuration Parameters

    Parameter ID Description Value Type Values Notes
    800 1 N/A
  • Sensor Notes

    * [Setting up a generic webcam sensor node in PolySync](https://help.polysync.io/releases/2.0.8//articles/connecting-to-a-sensor-webcam/)