openrave-yarp-plugins
Public Member Functions | Private Attributes | List of all members
roboticslab::YarpOpenraveRGBDSensor Class Reference

Implements the YARP_dev IRGBDSensor, etc. interface class member functions.

#include <YarpOpenraveRGBDSensor.hpp>

Inheritance diagram for roboticslab::YarpOpenraveRGBDSensor:
roboticslab::YarpOpenraveBase

Public Member Functions

bool open (yarp::os::Searchable &config) override
 
bool close () override
 
int getRgbHeight () override
 
int getRgbWidth () override
 
bool getRgbSupportedConfigurations (yarp::sig::VectorOf< yarp::dev::CameraConfig > &configurations) override
 
bool getRgbResolution (int &width, int &height) override
 
bool setRgbResolution (int width, int height) override
 
bool getRgbFOV (double &horizontalFov, double &verticalFov) override
 
bool setRgbFOV (double horizontalFov, double verticalFov) override
 
bool getRgbIntrinsicParam (yarp::os::Property &intrinsic) override
 
bool getRgbMirroring (bool &mirror) override
 
bool setRgbMirroring (bool mirror) override
 
int getDepthHeight () override
 
int getDepthWidth () override
 
bool setDepthResolution (int width, int height) override
 
bool getDepthFOV (double &horizontalFov, double &verticalFov) override
 
bool setDepthFOV (double horizontalFov, double verticalFov) override
 
double getDepthAccuracy () override
 
bool setDepthAccuracy (double accuracy) override
 
bool getDepthClipPlanes (double &nearPlane, double &farPlane) override
 
bool setDepthClipPlanes (double nearPlane, double farPlane) override
 
bool getDepthIntrinsicParam (yarp::os::Property &intrinsic) override
 
bool getDepthMirroring (bool &mirror) override
 
bool setDepthMirroring (bool mirror) override
 
bool getExtrinsicParam (yarp::sig::Matrix &extrinsic) override
 
std::string getLastErrorMsg (yarp::os::Stamp *timeStamp=NULL) override
 
bool getRgbImage (yarp::sig::FlexImage &rgbImage, yarp::os::Stamp *timeStamp=NULL) override
 
bool getDepthImage (yarp::sig::ImageOf< yarp::sig::PixelFloat > &depthImage, yarp::os::Stamp *timeStamp=NULL) override
 
bool getImages (yarp::sig::FlexImage &colorFrame, yarp::sig::ImageOf< yarp::sig::PixelFloat > &depthFrame, yarp::os::Stamp *colorStamp=NULL, yarp::os::Stamp *depthStamp=NULL) override
 
RGBDSensor_status getSensorStatus () override
 

Private Attributes

int rgbHeight
 
int rgbWidth
 
int depthHeight
 
int depthWidth
 
bool rgb
 
bool rgbReady
 
bool depthReady
 
OpenRAVE::SensorBasePtr depthSensorBasePtr
 
OpenRAVE::SensorBasePtr rgbSensorBasePtr
 
boost::shared_ptr< OpenRAVE::SensorBase::LaserSensorData > depthSensorDataPtr
 
boost::shared_ptr< OpenRAVE::SensorBase::CameraSensorData > rgbSensorDataPtr
 
- Private Attributes inherited from roboticslab::YarpOpenraveBase
OpenRAVE::EnvironmentBasePtr penv
 
OpenRAVE::RobotBasePtr probot
 
std::string robotName
 
boost::thread_group openraveThreads
 

Additional Inherited Members

bool configureEnvironment (yarp::os::Searchable &config)
 
bool configureOpenravePlugins (yarp::os::Searchable &config)
 
bool configureRobot (yarp::os::Searchable &config)
 
bool clean ()
 

The documentation for this class was generated from the following files: