Skip to main content
Skip table of contents

SetUserCartCoord2.srv

Features

The user can set the new rectangular coordinate system using x1, x2, and x3 based on the ref coordinate. Creates a rectangular coordinate system with ux, uy, and uz as the vector for each axis and origin point is the pos based on the ref coordinate assuming that 1)ux is the unit vector of x1x2 and uy is the unit vector of the vector that represents the shortest distance between x1x2 and x3. A maximum of 20 can be used, and the most recent 20 values are used if there are more than 20.

1)Before M2.0.2 software version, ux is the unit vector of x2x1

Parameters

Parameter Name

Data Type

Default Value

Description

x1

float64[6]

-

position list

x2

float64[6]

-

position list

x3

float64[6]

-

position list

pos

float64[6]

-

position list

ref

int8

0

MOVE_REFERENCE_BASE =0

MOVE_REFERENCE_WORLD=2

Note

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

Return

Return Name

Data Type

Default Value

Description

id

int8

-

user coordinate ID(101~120) or fail(-1)

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.