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