UFactory XARM User Manual page 191

Hide thumbs Also See for XARM:
Table of Contents

Advertisement

speed
mvacc
is_radian
wait
mvtime
Note:
1. If the joint angle is to be set in radian, then is_radian = True;
ex: code = arm.set_servo_angle (servo_id = 1, angle = 1.57, is_radian = True)
2. To wait for the robotic arm to complete the current commands before
returning, wait = True;
ex: code = arm.set_servo_angle (servo_id = 1, angle = 45, is_radian = False, wait
= True)
Continuous Joint Motion
Inserting an arc transition between two joint motion commands is a way to plan
the continuous joint motion of the robotic arm.
b) If servo_id is None or 8,
E.g. : arm.set_servo_angle (angle = [30,45,0,0,0,0,0], is_radian =
False)
joint speed (the default unit is ° / s):
Unit: if is_radian = True, the unit is rad / s; if is_radian = False, the
unit is ° / s;
joint acceleration (default unit is ° / s
Unit: if is_radian = True, the unit is rad / s
unit is ° / s
;
2
roll / pitch / yaw Whether it is measured in radian (default is_radian
= False)
If is_radian = True, the unit of roll / pitch / yaw is radian;
If is_radian = False, the unit of roll / pitch / yaw is degree (°);
If wait = True, wait for the current commands to finish before
sending the next commands;
If wait = False, send the next commands directly;
0, reserved;
191
)
2
; if is_radian = False, the
2

Advertisement

Table of Contents
loading

Table of Contents