167
Python example:
arm.set_servo_angle(angle=[0.0, 7.0, -71.2, 0.0, 0.0, 0.0], speed=8, mvacc=1145, wait=True)
arm.set_servo_angle(angle=[0.0, 7.0, -51.2, 0.0, 0.0, 0.0], speed=8, mvacc=1145, wait=True)
arm.set_servo_angle(angle=[0.0, 7.0, -91.2, 0.0, 0.0, 0.0], speed=8, mvacc=1145, wait=True)
The interface set_servo_angle is described in Table 2.1:
Table 2.1 Description of set_servo_angle
set_servo_angle
description
set joint angle for joint motion
parameter
servo_id
joint ID, 1-7, None or 8 means all joints:
a) 1- (Number of axes) Joint number of the robotic arm
E.g. : arm.set_servo_angle (servo_id = 1, angle = 45, is_radian =
False)
b) None (8) represents all joints
E.g. : arm.set_servo_angle (angle = [30, -45, 0, 0, 0, 0, 0], is_radian =
False)
angle
angle Joint angle or list of joint angles (the unit of the default joint
angle is is_radian = False, degrees (°))
a) If servo_id is 1- (joint number)
E.g. : arm.set_servo_angle (servo_id = 1, angle = 45, is_radian =
False)
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)
Содержание 850
Страница 1: ...1...
Страница 72: ...72 4 The control box PC and network switch are connected by Ethernet ca ble...
Страница 74: ...74 Step3 Open the Properties Step4 Open the IPV4...
Страница 89: ...89 Cancel Cancel the selection Save Save the modified data Discard Discard the modified data...
Страница 145: ...145 1 6 6 GPIO Control Box and End tool interface...
Страница 149: ...149 1 6 7 End Effector...
Страница 197: ...197 State 6 Stop Generally use studio will generate state 6 and state 6 is also a kind of stop...