Instantiates pipe device implemented by DevicePipe. More...
Instantiates pipe device implemented by DevicePipe.
# sending images to a port called "/save" will result in them # being saved to test.avi device pipe [source] device remote_grabber local /save [sink] device ffmpeg_writer out test.avi framerate 30
If this text is saved in a file called remote_grabber_basic.ini then the device can be created by doing:
yarpdev --file remote_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 | ||
source | device to read from (string or nested properties) | |
sink | device to write to (string or nested properties) |