Breadcrumbs

subtract_pose(posx1,posx2)

Features

This function obtains the difference between two poses.


image2021-11-4_10-30-28.png

Parameters

Parameter Name

Data Type

Default Value

Description

posx1

posx

list (float[6])

-

posx or

position list [mm, deg]

posx2

posx

list (float[6])

-

posx or

position list [mm, deg]

Return

Value

Description

posx

[mm, deg]

Exception

Exception

Description

DR_Error (DR_ERROR_TYPE)

Parameter data type error occurred

Example

Python
posx1 = [100, 20, 300, 90, 0, 180]
posx2 = [200, 50, 100, 90, 30, 150]
subtract_posx = subtract_pose(posx1, posx2)