UFactory XARM User Manual page 196

Hide thumbs Also See for XARM:
Table of Contents

Advertisement

Python example:
arm.set_tcp_jerk(2000)
arm.set_position(x=205.0, y=100.0, z=110.4, roll=180.0, pitch=0.5, yaw=0.0, speed=100, radius=-
1.0, wait=True)
arm.set_position(x=205.0, y=120.0, z=110.4, roll=180.0, pitch=0.5, yaw=0.0, speed=100, radius=-
1.0, wait=True)
arm.set_position(x=205.0, y=140.0, z=110.4, roll=180.0, pitch=0.5, yaw=0.0, speed=100, radius=-
1.0, wait=True)
arm.reset()
The interface set_position() is described in Table 2.2:
Description
x
y
z
roll
pitch
Parameter
yaw
radius
Table 2.2 set_position description
set_position
Sets the Cartesian coordinate value of the linear motion
coordinate x, (unit: mm)
coordinate y, (unit: mm)
coordinate z, (unit: mm)
attitude roll(default unit is °):
Unit: if is_radian = True, the unit is rad; if is_radian = False, the unit
is °;
attitude pitch (default unit is °):
Unit: if is_radian = True, the unit is rad; if is_radian = False, the
unit is °;
attitude yaw (default unit is °):
Unit: if is_radian = True, the unit is rad; if is_radian = False, the
unit is °);
radius: if it is a linear motion, radius <0 / radius = None;
196

Advertisement

Table of Contents
loading

Table of Contents