Skip to main content
Skip table of contents

Trans.srv

Features

  • Input parameter(pos) based on the ref coordinate is translated/rotated as delta based on the same coordinate and this function returns the result that is converted to the value based on the ref_out coordinate.
  • In case that the ref coordinate is the tool coordinate, this function retuns the value based on input parameter(pos)’s coordinate without ref_out coordinate.

Parameters

Parameter NameData TypeDefault ValueDescription

pos

float64[6]

-

position list

delta

float64[6]

-

position list

ref

int8

0

MOVE_REFERENCE_BASE =0

MOVE_REFERENCE_TOOL=1

MOVE_REFERENCE_WORLD=2

MOVE_REFERENCE_USER=101~120

ref_out

int8

0

MOVE_REFERENCE_BASE =0

MOVE_REFERENCE_WORLD=2

MOVE_REFERENCE_USER=101~120

Note

  • The ref argument DR_WORLD is only available in M2.40 or later versions.
  • The ref_out argument is only available in M2.40 or later versions.

Return

Parameter NameData TypeDefault ValueDescription

trans_pos

float64[6]

-

Task space point

success

bool

-

True or False

JavaScript errors detected

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

If this problem persists, please contact our support.