Regular API function
simBuildPose / sim.buildPose
Description
Builds a pose based on a position vector and
Euler angles
. See also the other
matrix/transformation functions
.
C/C++
synopsis
simInt simBuildPose(const simFloat* position,const simFloat* eulerAngles,simFloat* pose)
C/C++
parameters
position
: pointer to 3 values representing the position component
eulerAngles
: pointer to 3 values representing the angular component
pose
: pointer to 7 values (3 for a position, 4 for a quaternion: (x,y,z,qx,qy,qz,qw))
C/C++
return value
-1 if operation was not successful
Lua synopsis
float[7] pose=sim.buildPose(float[3] position,float[3] eulerAngles)
Lua parameters
Similar to the C-function counterpart
Lua return values
Similar to the C-function counterpart
Python synopsis
list pose=sim.buildPose(list position,list eulerAngles)