eul2rpy([alpha,beta,gamma])
Feature
This function receives Euler angle zyz as a degree value and returns the degree value of Euler angle z(=Yaw)y(=Pitch)x(=Roll).
Parameter
Name | Type | Default Value | Description |
---|---|---|---|
eul | float[3] | [0, 0, 0] [deg] | Euler angle zyz [deg] ※ Input in order of alpha (A), beta (B), gamma (C) |
Return
Value | Description |
---|---|
float[3] | Euler angle (zyx) [deg] ※ Return in order of yaw (Rz), pitch (Ry), roll (Rx) |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
Example
eul = [10, 20, 30]
rpy = eul2rpy(eul)