Skip to main content
Skip table of contents

rotm2rotvec(rotm)

Features

This function receives a rotation matrix and returns the rotation vector (angle/axis representation).

Parameters

Parameter Name

Data Type

Default Value

Description

rotm

float[3][3]

-

Rotation matrix

Return

Value

Description

float[3]

rotation vector

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

Example

PY
rotm = [[1,0,0],[0,0.87,-0.5],[0,0.5,0.87]]
eul = rotm2rotvec(rotm)
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.