ProjectRotation1dof (FUN)¶
FUNCTION ProjectRotation1dof : SMC_Error
Given an arbitrary orientation mR, and a desired axis vDesiredAxis, this function computes a matrix with R * (0,0,1) = vDesiredAxis that is closest to mR. May return an error only if mR is not a rotation matrix.
- InOut:
Scope
Name
Type
Comment
Inout
mProjectedSMC_Matrix3Rotation Matrix after Projection
Inout Const
mRSMC_Matrix3Programmed orientation of the TCP
vDesiredAxisSMC_VECTOR3DDesiredAxis
Return
ProjectRotation1dofSMC_ErrorOutput
c_degLREAL