Commit 244d1795 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[Python] update to use of numpy array instead of matrix

parent 31fcd31c
......@@ -417,7 +417,7 @@ class Robot(Parent):
self.addLimb(id,
self.dict_limb_rootJoint[id],
eff,
self.dict_offset[eff].translation.T.tolist()[0],
self.dict_offset[eff].translation.tolist(),
self.dict_normal[eff],
self.dict_size[eff][0] / 2.,
self.dict_size[eff][1] / 2.,
......
......@@ -219,7 +219,7 @@ class Robot(Parent):
self.addLimb(id,
self.dict_limb_rootJoint[id],
eff,
self.dict_offset[eff].translation.T.tolist()[0],
self.dict_offset[eff].translation.tolist(),
self.dict_normal[eff],
self.dict_size[eff][0] / 2.,
self.dict_size[eff][1] / 2.,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment