Breadcrumbs

rotx(angle)

Features

This function returns a rotation matrix that rotates by the angle value along the x-axis.

Parameters

Parameter Name

Data Type

Default Value

Description

angle

float

0

Rotating angle [deg]

Return

Value

Description

float[3][3]

Rotation matrix

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

Example

Python
rotm = rotx(30)