Class trifinger_cameras::OpenCVDriver

class OpenCVDriver : public robot_interfaces::SensorDriver<CameraObservation, CameraInfo>, public robot_interfaces::SensorDriver<CameraObservation, CameraInfo>

Driver for interacting with any camera using OpenCV.

Public Functions

OpenCVDriver(int device_id)
CameraObservation get_observation()

Grab a single frame along with its timestamp.

Returns:

Image frame consisting of an image matrix and the time at which it was grabbed.

OpenCVDriver(int device_id)
CameraObservation get_observation()

Grab a single frame along with its timestamp.

Returns:

Image frame consisting of an image matrix and the time at which it was grabbed.