Features
This function transforms a Euler angle (zyz order) to a rotation matrix.
Parameters
|
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
eul |
float[3] |
[0 0 0] |
Euler angle (zyz) [deg] |
Return
|
Value |
Description |
|---|---|
|
float[3][3] |
Rotation matrix |
Exception
|
Exception |
Description |
|---|---|
|
DR_Error (DR_ERROR_TYPE) |
Parameter data type error occurred |
Example
Python
eul = [90, 90, 0]
rotm = eul2rotm (eul)