6#ifndef YARP_DEV_IRGBDSENSOR_H
7#define YARP_DEV_IRGBDSENSOR_H
47 RGBD_SENSOR_NOT_READY = 0,
48 RGBD_SENSOR_OK_STANDBY = 1,
49 RGBD_SENSOR_OK_IN_USE = 2,
51 DEPTH_SENSOR_ERROR = 4,
52 RGBD_SENSOR_GENERIC_ERROR = 5,
53 RGBD_SENSOR_TIMEOUT = 6
contains the definition of a Matrix type
An interface for retrieving intrinsic parameter from a depth camera.
A generic interface for cameras that have both color camera as well as depth camera sensor,...
virtual yarp::dev::ReturnValue getImages(yarp::sig::FlexImage &colorFrame, yarp::sig::ImageOf< yarp::sig::PixelFloat > &depthFrame, yarp::os::Stamp *colorStamp=nullptr, yarp::os::Stamp *depthStamp=nullptr)=0
Get the both the color and depth frame in a single call.
virtual yarp::dev::ReturnValue getLastErrorMsg(std::string &message, yarp::os::Stamp *timeStamp=nullptr)=0
Return an error message in case of error.
virtual yarp::dev::ReturnValue getRgbImage(yarp::sig::FlexImage &rgbImage, yarp::os::Stamp *timeStamp=nullptr)=0
Get the rgb frame from the device.
virtual yarp::dev::ReturnValue getDepthImage(yarp::sig::ImageOf< yarp::sig::PixelFloat > &depthImage, yarp::os::Stamp *timeStamp=nullptr)=0
Get the depth frame from the device.
virtual yarp::dev::ReturnValue getSensorStatus(RGBDSensor_status &status)=0
Get the current status of the sensor, using enum type.
virtual yarp::dev::ReturnValue getExtrinsicParam(yarp::sig::Matrix &extrinsic)=0
Get the extrinsic parameters from the device.
An interface for retrieving intrinsic parameter from a rgb camera.
An abstraction for a time stamp and/or sequence number.
Image class with user control of representation details.
For streams capable of holding different kinds of content, check what they actually have.