Regular API function

simMatrixToPose / sim.matrixToPose

Description Converts a transformation matrix to a pose. See also the section about positions, orientations and transformations
C/C++
synopsis
simInt simMatrixToPose(const simFloat* matrixIn,simFloat* poseOut)
C/C++
parameters
matrixIn: the input matrix
poseOut: the output pose
C/C++
return value
-1 if operation was not successful
Lua
synopsis
float[7] pose=sim.matrixToPose(float[12] matrix)
Lua
parameters
matrix: the input matrix
Lua
return values
pose: the output pose
Python
synopsis
list pose=sim.matrixToPose(list matrix)