YARP
Yet Another Robot Platform
depthCameraDriver.cpp File Reference
#include "depthCameraDriver.h"
#include <yarp/os/LogComponent.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/Value.h>
#include <algorithm>
#include <cmath>
#include <mutex>
+ Include dependency graph for depthCameraDriver.cpp:

Go to the source code of this file.

Classes

class  streamFrameListener
 

Macros

#define RETURN_FALSE_STATUS_NOT_OK(s)   if(s != STATUS_OK) { yCError(DEPTHCAMERA) << OpenNI::getExtendedError(); return false; }
 

Variables

static std::map< std::string, RGBDSensorParamParser::RGBDParamparams_map
 

Macro Definition Documentation

◆ RETURN_FALSE_STATUS_NOT_OK

#define RETURN_FALSE_STATUS_NOT_OK (   s)    if(s != STATUS_OK) { yCError(DEPTHCAMERA) << OpenNI::getExtendedError(); return false; }

Definition at line 36 of file depthCameraDriver.cpp.

Variable Documentation

◆ params_map

std::map<std::string, RGBDSensorParamParser::RGBDParam> params_map
static
Initial value:
=
{
{accuracy, RGBDSensorParamParser::RGBDParam(accuracy, 1)},
{clipPlanes, RGBDSensorParamParser::RGBDParam(clipPlanes, 2)},
{depth_Fov, RGBDSensorParamParser::RGBDParam(depth_Fov, 2)},
{depthRes, RGBDSensorParamParser::RGBDParam(depthRes, 2)},
{rgb_Fov, RGBDSensorParamParser::RGBDParam(rgb_Fov, 2)},
{rgbRes, RGBDSensorParamParser::RGBDParam(rgbRes, 2)},
{rgbMirroring, RGBDSensorParamParser::RGBDParam(rgbMirroring, 1)},
{depthMirroring, RGBDSensorParamParser::RGBDParam(depthMirroring, 1)}
}

Definition at line 51 of file depthCameraDriver.cpp.