226 Vector &_dOffs, Vector &_dLift, Vector &_home_x)
228 if (Bottle *pB=b.find(
"grasp_orientation").asList())
230 int sz=(int)pB->size();
231 int len=(int)_gOrien.length();
234 for (
int i=0; i<l; i++)
235 _gOrien[i]=pB->get(i).asFloat64();
238 if (Bottle *pB=b.find(
"grasp_displacement").asList())
240 int sz=(int)pB->size();
241 int len=(int)_gDisp.length();
244 for (
int i=0; i<l; i++)
245 _gDisp[i]=pB->get(i).asFloat64();
248 if (Bottle *pB=b.find(
"systematic_error_displacement").asList())
250 int sz=(int)pB->size();
251 int len=(int)_dOffs.length();
254 for (
int i=0; i<l; i++)
255 _dOffs[i]=pB->get(i).asFloat64();
258 if (Bottle *pB=b.find(
"lifting_displacement").asList())
260 int sz=(int)pB->size();
261 int len=(int)_dLift.length();
264 for (
int i=0; i<l; i++)
265 _dLift[i]=pB->get(i).asFloat64();
268 if (Bottle *pB=b.find(
"home_position").asList())
270 int sz=(int)pB->size();
271 int len=(int)_home_x.length();
274 for (
int i=0; i<l; i++)
275 _home_x[i]=pB->get(i).asFloat64();