Breadcrumbs

rpy2eul([yaw,pitch,roll])

Features

This function receives Euler anlge z(=Yaw)y(=Pitch)x(=Roll) as a degree value and returns the degree value of Euler angle zyz.

Parameters

Parameter Name

Data 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)