Commit 0ec155b9 authored by daeun's avatar daeun
Browse files

change R from matrix to array

parent f0f87c1f
......@@ -52,8 +52,8 @@ def getRotationMatrixFromConfigs(configs) :
R = []
for config in configs:
q_rot = config[3:7]
R.append(XYZQUATToSe3([0,0,0] + q_rot).rotation)
return R
R.append(array(XYZQUATToSe3([0,0,0] + q_rot).rotation))
return R
# get contacted surface names at configuration
def getContactsNames(rbprmBuilder,i,q):
......
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