INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
MultiCameraServer
|
A hardware abstraction component for a Collection of Cameras.
This component dynamically loads an implementation of a Hydro hardware interface hydrointerfaces::MultiImage. You can also load your own implementation as long as the shared library is in the path. See Hydro documentation for the list of available drivers.
MultiCameraServer.Config.DriverLib
(string)MultiCameraServer Settings
MultiCameraServer.Config.NumberOfCameras
(int)MultiCameraServer.N.Config.Offset
(Frame3d) [m, deg]MultiCameraServer.N.Config.FocalLength
(double) [mm]MultiCameraServer.N.Config.SensorSize
(Size2d) [cm,cm]MultiCameraServer.N.Config.ImageWidth
(int) [pixels]MultiCameraServer.N.Config.ImageHeight
(int) [pixels]MultiCameraServer.N.Config.ImageFormat
(string)ImageFormat is a string. This means that you can easily send your data in whatever format you choose. It is assumed the default opencv driver is good enough in most cases and in special cases a custom driver can be written.
ImageWidth and ImageHeight are sanity checked and an exception is thrown if they do not match the default capture values OpenCV gets with the cvcamera driver.
Individual cameras have different options, different formats, and sometimes even their own unusual requirements. It was therefore thought by the author of this interface that it would be more beneficial to have the very basic framework and interface for sending data defined with maximum flexibility in mind given to driver writters. The cvcamera, image, and fake drivers should suffice for most robotics needs in all other cases.
In order for the logger and viewer to properly show your custom image format (should you have one) you need to write a conversion plugin if one doesn't exist already. It should convert to a common variation of RGBA such as BGR8, BGRA8, RGBA8, RGB8 for color logging/viewing or GRAY8 for grayscale logging and viewing.
1. First check the ImageServer Troubleshooting guide.
Alex Brooks, Tom Burdick, Tobias Kaupp, Alex Makarenko
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)