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] | Receive Euler angle zyz as a degree value and returns the degree value of Euler angle z(=Yaw)y(=Pitch)x(=Roll) |
Return
Value | Description |
---|---|
float[3] | Euler angle (zyx) [deg] ※ Return in order of roll (Rx), pitch (Ry), yaw (Rz) |
Exception
Exception | Description |
---|---|
DR_Error (DR_ERROR_TYPE) | Parameter data type error occurred |
Example
eul = [10, 20, 30]
rpy = eul2rpy(eul)