44 for (
size_t i=0;i<b->
size();i++)
70 Look for documentation online.";
80 std::pair<std::string, double*>
realparam;
81 std::vector<std::pair<std::string, double*> >
realParams;
114 if (!intrinsic.
check(
"distortionModel"))
133 if (
distortion.find(
"name").asString() !=
"plumb_bob")
163 if (!config.
check(
"SETTINGS"))
171 if (!config.
check(
"HW_DESCRIPTION"))
180 for (
auto& v: params)
182 if (!
checkParam(settings, description, *v) ) {ret =
false;}
204 if (!config.
check(
"EXTRINSIC_PARAMETERS"))
238 if (!(
tf->size() == 4*4))
244 for(
int i = 0; i < 4; i++)
246 for(
int j = 0; j < 4; j++)
static bool parseIntrinsic(const Searchable &config, const std::string &groupName, yarp::sig::IntrinsicParams ¶ms)
static bool checkParam(const Bottle &input, RGBDSensorParamParser::RGBDParam ¶m, bool &found)
yarp::sig::Matrix transformationMatrix
bool parseParam(const yarp::os::Searchable &config, std::vector< RGBDParam * > ¶ms)
parseParam, parse the params stored in a Searchable.
yarp::sig::IntrinsicParams rgbIntrinsic
yarp::sig::IntrinsicParams depthIntrinsic
A simple collection of objects that can be described and transmitted in a portable way.
size_type size() const
Gets the number of elements in the bottle.
Value & get(size_type index) const
Reads a Value v from a certain part of the list.
Bottle & findGroup(const std::string &key) const override
Gets a list corresponding to a given keyword.
bool check(const std::string &key) const override
Check if there exists a property of the given name.
Bottle tail() const
Get all but the first element of a bottle.
bool isNull() const override
Checks if the object is invalid.
Value & find(const std::string &key) const override
Gets a value corresponding to a given keyword.
A mini-server for performing network communication in the background.
A base class for nested structures that can be searched.
virtual bool check(const std::string &key) const =0
Check if there exists a property of the given name.
virtual Value & find(const std::string &key) const =0
Gets a value corresponding to a given keyword.
virtual Bottle & findGroup(const std::string &key) const =0
Gets a list corresponding to a given keyword.
A single value (typically within a Bottle).
virtual yarp::conf::float64_t asFloat64() const
Get 64-bit floating point value.
virtual Bottle * asList() const
Get list value.
virtual bool isFloat64() const
Checks if value is a 64-bit floating point number.
virtual std::string asString() const
Get string value.
yarp::sig::DistortionModelData distortionModel
#define yCError(component,...)
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.
std::vector< yarp::os::Value > val
The IntrinsicParams struct to handle the intrinsic parameter of cameras(RGB and RGBD either).