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