Skip to main content
Skip table of contents

overwrite_user_cart_coord(id, pos, ref)

Features

This function changes the pose and reference coordinate system of the requested user coordinate system [id] with the [pos] and [ref], respectively.

Parameters

Parameter NameData TypeDefault ValueDescription

id

int

-

coordinate ID

pos

posx

list (float[6])

-

posx or

position list

ref

int

DR_BASE

reference coordinate

  • DR_BASE: base coordinate
  • DR_WORLD: world coordinate

Return

ValueDescription

Positive integer

Successful coordinate setting
Set coordinate ID (101 - 200)

-1

Failed coordinate setting

Exception

ExceptionDescription

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

Exception

PY
pose_user1 = posx(30, 40, 50, 0, 0, 0)
id_user = set_user_cart_coord(pose_user1, ref=DR_BASE)
pose_user2 = posx(100, 150, 200, 45, 180, 0)
overwrite_user_cart_coord(id_user, pose_user2, ref=DR_BASE)

Related commands

JavaScript errors detected

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

If this problem persists, please contact our support.