vec3->list
This commit is contained in:
parent
4f7510241d
commit
04ce90f3de
|
@ -619,6 +619,8 @@ class Controller:
|
|||
)
|
||||
xyz = world_from_pelvis.transform.translation
|
||||
rxn = world_from_pelvis.transform.rotation
|
||||
|
||||
xyz = np.array([txn.x, txn.y, txn.z])
|
||||
quat_wxyz = np.array([rxn.w, rxn.x, rxn.y, rxn.z])
|
||||
root_state_w = np.zeros(7)
|
||||
root_state_w[0:3] = xyz
|
||||
|
|
Loading…
Reference in New Issue