3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

get_orientation_error()

Definition

get_orientation_error(xd, xc, axis)

Features

This function returns the orientation error value between the arbitrary poses xd and xc of the axis.

Parameters

Parameter Name

Data Type

Default Value

Description

xd

posx

-

posx or

position list

list (float[6])

xc

posx

-

posx or

position list

list (float[6])

axis

int

-

axis

  • DR_AXIS_X: x-axis

  • DR_AXIS_Y: y-axis

  • DR_AXIS_Z: z-axis

Return

Value

Description

float

Orientation error value

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

DR_Error (DR_ERROR_VALUE)

Parameter value is invalid

DR_Error (DR_ERROR_RUNTIME)

C extension module error occurred

DR_Error (DR_ERROR_STOP)

Program terminated forcefully

Example

Python
xd = posx(0, 0, 0, 0, 0, 0)
xc = posx(10, 20, 30, 40, 50, 60)
diff = get_orientation_error(xd, xc, DR_AXIS_X)

Keyword

get / orientation / error / get_orientation / orientation_error