Driver for connecting to a YARP server and getting an Image.
More...
Driver for connecting to a YARP server and getting an Image.
The yarpimage driver connects to a YARP server using a specified port name, gets image data, and puts it on a Player camera interface.
- Compile-time dependencies
- Provides
- Requires
- Configuration requests
- Configuration file options
- carrier (string)
- Default: tcp
- Type of carrier. Possible values: tcp, udp, mcast, shmem.
- port (string)
- Default: NULL
- Name of the internally created YARP port for our driver.
- image_port (string)
- Default: NULL
- Name of the YARP port that we want to connect to, to get images.
- image_format (integer)
- Default: 5 (PLAYER_CAMERA_FORMAT_RGB888)
- Possible values: 1 (PLAYER_CAMERA_FORMAT_MONO8 - 8-bit monochrome) or 5 (PLAYER_CAMERA_FORMAT_RGB888 - 24-bit color). Anything else will be ignored and defaulted.
- Format of the image to provide.
- Example
driver
(
name "yarpimage"
provides ["camera:0"]
# Set the port name
carrier "tcp"
image_port "/images"
port "/player"
image_format 1
)
- Author:
- Radu Bogdan Rusu