18 #include <iCub/d4c/private/d4c_helpers.h>
26 bool iCub::d4c::extractVector(
const Property &prop,
const string &option,
29 if (prop.check(option.c_str()))
31 if (Bottle *v=prop.find(option.c_str()).asList())
33 res.resize(v->size());
34 for (
size_t i=0; i<res.length(); i++)
35 res[i]=v->get(i).asDouble();
48 bool iCub::d4c::copyVectorData(
const Vector &src, Vector &dest)
54 if (src.length()<=dest.length()-offs)
56 for (
size_t i=0; i<src.length(); i++)