Skip to main content
Skip table of contents

svm_get_robot_pose(job_id)

Features

The robot pose information(joint coordinate system) set in the vision task is loaded. Robot pose information is used as shoot_pose for vision task.

Parameters

Parameter NameData TypeDefault ValueDescription

job_id

int

-

Vision Task id (. 1000, 2000, …)

Return

ValueDesciption

float [6]

Robot joint coordinate information (posj type)

-1

failed

Example

PY
svm_connect()                           # Connect to vision 
vision_test=1000                         # Define vision job ID
svm_set_job(vision_test)                   # Load the vision_test (1000)
shoot_pos=svm_get_robot_pose (vision_test) # Load the robot pose of vision_test
tp_popup("{0}".format(shoot_pos))
svm_disconnect()                           # Disconnect to vision
JavaScript errors detected

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

If this problem persists, please contact our support.