Skip to main content
Skip table of contents

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 NameData TypeDefault ValueDescription
xd

posx-

posx or

position list

list (float[6])
xc

posx-

posx or

position list

list (float[6])
axisint-

axis

  • DR_AXIS_X: x-axis
  • DR_AXIS_Y: y-axis
  • DR_AXIS_Z: z-axis

Return

ValueDescription

float

Orientation error value

Exception

ExceptionDescription

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

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

Related commands

JavaScript errors detected

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

If this problem persists, please contact our support.