sim.getRotationAxisRetrieves an axis and rotation angle that brings one pose or transformation matrix onto another one. The translation part of the poses/matrices is ignored. This function, when used in combination with sim.rotateAroundAxis, can be used to build interpolations between transformation matrices Synopsislist axis, float angle = sim.getRotationAxis(list poseStart/matrixStart, list poseGoal/matrixGoal)
float[3] axis, float angle = sim.getRotationAxis(float[7]/float[12] poseStart/matrixStart,
float[7]/float[12] poseGoal/matrixGoal)
Arguments
Return values
|