rotvec2eul([rx,ry,rz])
Features
This function transforms a rotation vector to a Euler angle (zyz).
Parameters
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
rotvec | float[3] | - | rotation vector |
Return
Value | Description |
---|---|
float[3] | ZYZ Euler angle [deg] |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
Example
rotvec = [0.7854, 0, 0]
eul = rotvec2eul(rotvec) # eul=[45,0,0]