rotvec2rotm([rx,ry,rz])
Features
This function transforms a rotation vector to a rotation matrix.
Parameters
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
rotvec | float[3] | - | rotation vector |
Return
Value | Description |
---|---|
float[3][3] | Rotation matrix |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
Example
rotm = rotvec2eul([0.7854,0,0])