Engee documentation

Direction Cosine Matrix to Rotation Angles

Conversion of rotation matrix to rotation angles.

blockType: SubSystem

Path in the library:

/Aerospace/Axes Transformations/Direction Cosine Matrix to Rotation Angles

Description

The Direction Cosine Matrix to Rotation Angles block converts the rotation matrix (cosine guide matrix ) into rotation angles and respectively. For example, the rotation order by default means the following sequence of rotations relative to the coordinate axes:

  • - rotation about the axis ;

  • - rotation around the axis ;

  • - rotation around the axis .

Ports

Input

# DCMbe — rotation matrix
`matrix 3 by 3

Details

Rotation Matrix.

Data types

Float64.

Complex numbers support

No

Output

# [R1, R2, R3] — rotation angles
`vector 3 to 1

Details

Angles of rotation in radians.

Data types

Float64.

Complex numbers support

No

Parameters

Настройки

# Rotation order — turn sequence
ZYX | ZYZ | ZXY | ZXZ | YXZ | YXY | YZX | YZY | XYZ | XYX | XZY | XZX

Details

A sequence of coordinate axes relative to which rotations are performed.

Values

ZYX | ZYZ | ZXY | ZXZ | YXZ | YXY | YZX | YZY | XYZ | XYX | XZY | XZX

Default value

ZYX

Program usage name

rotation_order

Tunable

No

Evaluatable

Yes