CDRFLEx.get_current_rotm
Features
This is a function to check the rotation matrix of the current tool corresponding to the input reference coordinate system (eTargetRef).
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
eTargetRef | enum.COORDINATE_SYSTEM | CORODINATE_SYSTEM_BASE | Refer to the Definition of Constant and Enumeration Type |
Return
Value | Description |
---|---|
float[3][3] | Rotation Matrix |
Example
float(*result)[3] = Drfl.get_current_rotm();
for (int i=0; i<3; i++)
{
for (int j=0; j<3; j++)
{
cout << result[i][j] ;
}
cout << endl;
}