get_projected_posx(pos, rel, ref)
Features
It converts the pos (pose) defined based on the ref coordinate system into a pos that can be expressed with P series robots using the same coordinate system and returns it.
It returns the pos that has the minimum joint movement distance based on the current robot's position.
In the pos, the position does not change, and it returns the coordinates that can be expressed with the minimum rotational transformation.
Parameters
Parameter Name | Data Type | Default Value | Description |
pos | posx | - | posx or position list |
list (float[6]) | |||
rel | int | DR_MV_MOD_ABS | Movement basis DR_MV_MOD_ABS : absolute DR_MV_MOD_REL : relative |
ref | int | DR_BASE | reference coordinate
|
Return
Value | Description |
|---|---|
posx | Task space point |
status |
|
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
CODE
|