Breadcrumbs

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 Name

Data Type

Default Value

Description

job_id

int

-

Vision Task id (예. 1000, 2000, …)

Return

Value

Desciption

float [6]

Robot joint coordinate information (posj type)

-1

failed

Example

Python
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