Definition
unit_pose(posx1)
Features
This function obtains the unit vector of the given posx translation component.
Parameters
|
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
|
posx1 |
posx list (float[6]) |
- |
posx or position list [mm, deg] |
Return
|
Value |
Description |
|---|---|
|
float[3] |
Unit vector of the given posx |
Exception
|
Exception |
Description |
|---|---|
|
DR_Error (DR_ERROR_TYPE) |
Parameter data type error occurred |
Example
Python
posx1 = [100, 20, 300, 90, 0, 180]
res = unit_pose(posx1)