Instantiates grabberDual device implemented by ServerGrabber. More...
Instantiates grabberDual device implemented by ServerGrabber.
# start up a network wrapper around a fakeFrameGrabber device grabberDual subdevice fakeFrameGrabber width 640 height 480 period 0.25 name /grabber
If this text is saved in a file called grabber_basic.ini then the device can be created by doing:
yarpdev --file grabber_basic.ini
Of course, the configuration could be passed just as command line options, or as a yarp::os::Property object in a program:
Here is a list of properties checked when starting up a device based on this configuration file. Note that which properties are checked can depend on whether other properties are present. In some cases properties can also vary between operating systems. So this is just an example
PROPERTY | DESCRIPTION | DEFAULT |
device | ||
period | refresh period(in ms) of the broadcasted values through yarp ports | |
subdevice | name of the subdevice to use as a data source | |
left_config | ||
right_config | ||
twoCameras | if true ServerGrabber will open and handle two devices, if false only one | |
split | set 'true' to split the streaming on two different ports | |
capabilities | two capabilities supported, COLOR and RAW respectively for rgb and raw streaming | |
no_drop | if present, use strict policy for sending data | |
stamp | if present, add timestamps to data | |
single_threaded | if present, operate in single threaded mode | |
name | name of port to send data on | /grabber |