2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
2.12.4 2.12.3 2.12.2 2.12.1 2.12 2.11.2 2.11.0.1 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

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

Python
rpy = [10, 20, 30]
eul = rpy2eul(rpy)