<<<<<<< HEAD
Instructions for using adaptive gripper + quick-change servo
Applicable models: ultraArm P340
1 Hardware connection
New version of quick-change servo + adaptive gripper
Insert one side of the Lego connection key into the gripper
Then insert the other side of the Lego connection key into the quick-change servo
Both sides of the Lego connection key are inserted tightly
Connect the gripper cable to any port of the quick-change servo
Connect the quick-change servo cable to the port on the other side of the quick-change servo, and then connect it to the gripper socket on the base of the robot
Install the quick-change servo to the end of the robot
Old version quick-change servo + adaptive gripper
Insert one side of the Lego connector into the gripper
Then insert the other side of the Lego connector into the quick-change servo
Plug both sides of the Lego connector tightly
Use a 3-pin cable to connect to the gripper socket of the robot base
Connect the servo cable, gripper cable, and robot base cable to the adapter board
Install the quick-change servo to the end of the robot
2 Python example program
=======
自适应夹爪+快换舵机使用说明
适配型号:ultraArm P340
1 硬件连接
新版本快换舵机+自适应夹爪
将乐高连接键的一侧插入夹爪中
然后乐高连接键的另一侧插入快换舵机中
乐高连接键的两侧都插紧
将夹爪的线接到快换舵机的任意一个接口上
将快换舵机线接入到快换舵机的另一侧接口上,然后接入到机械臂底座的夹爪插口上
将快换舵机安装到机械臂末端上
旧版本快换舵机+自适应夹爪
将乐高连接键的一侧插入夹爪中
然后乐高连接键的另一侧插入快换舵机中
乐高连接键的两侧都插紧
用一根3pin线连接到机械臂底座的夹爪插口上
将舵机线,夹爪线,机械臂底座的线,连接到转接板上
将快换舵机安装到机械臂末端上
2 Python案列程序
482c782c42e70f0b2e44445345f6461e795f9189
from pymycobot import ultraArm
<<<<<<< HEAD
# Connect the robot arm, fill in the actual serial port number of the robot arm
ua = ultraArm('COM13')
# Return to zero
ua.go_zero()
# Control the quick-change servo
ua.set_angle(4,90,90)
# Control the gripper
ua.set_gripper_state(50, 50)
=======
连接机械臂,要填入机械臂实际的串口号
ua = ultraArm('COM13')
回零
ua.go_zero()
控制快换舵机
ua.set_angle(4,90,90)
控制夹爪
ua.set_gripper_state(50, 50)
```
482c782c42e70f0b2e44445345f6461e795f9189